npm install
npm install -g webpack --sava-dev
npm start
to run the program- It's recommended to use the browser of Chrome
- yep! The default host address is http://localhost:8080
npm run build
.webpack
├── app app folder
│ ├── imgs image folder
│ │ └──avater.jpg
│ ├── index.js entry
│ ├── mobile.js
│ ├── sub.js
│ ├── plugin.js
│ ├── main.scss
│ └── variables.scss
│
├── build output folder
├── templates html templates folder
│ ├── index.html
│ └── mobile.html
├── webpack.config.js configuraion file of webpack
├── webpack.production.config.js
├── package.json
└── README.md