Hi-Rube / multipage-web-application

create-multipage-web-application-by-using-create-react-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project was bootstrapped with Create React App.

React 16 + react-router4 + sass + eslint-config-alloy + webpack 4

运行

$ npm start

打包

$ npm run build

目录

my-app
├── README.md
├── node_modules
├── package.json
├── .gitignore 
├── .eslintrc.js
├── scripts
├── public          
│   ├── favicon.ico
│   ├── index.html
│   └── manifest.json
└── src
    ├── assets             # 静态资源
    ├── components         # 组件
    ├── config              # 配置文件
    ├── containers         # 容器
    ├── store              # store
    ├── reducers           # reducers
    ├── style              # 基础公共样式
    ├── index.js           # 入口
    ├── utils              # 工具
    ├── templates          # 模版(用来提供给rd)
    ├──routes.js           # 虚拟路由
    └── serviceWorker.js

访问地址

http://localhost:3001/key1.html

About

create-multipage-web-application-by-using-create-react-app


Languages

Language:JavaScript 95.9%Language:HTML 3.0%Language:CSS 1.1%