Using Webpack to build a React based multi-page application, designed to establish a multi-page application architecture thinking model
# Clone / Download git
$ git clone [email protected]:TokeyJerry/react-multi-page.git --depth=1
# Or https
$ git clone https://github.com/TokeyJerry/react-multi-page.git --depth=1
# install
$ npm install
.
├── client
│ ├── views ············ .html file
├── docs ················· documentationaa
├── server
│ ├── router ··········· Route file
│ ├── controller ······· Business logic processing layer
│ └── module ··········· Data acquisition
├── config
│ ├── envConfig.js ····· Environment variable configuration file
│ └── fileConfig.js ···· webpack config
├── src
│ ├── commons ·········· Public libraries
│ └── components ······· Global components
├── app.js
├── package.json
├── webpack.config.js
├── .babelrc
├── .gitignore
├── README.md
└── LICENSE
Please refer to the package.json file for checking more Command
# dev
$ npm run dev
# build
$ npm run build