1. In a terminal input, npm init, and then has been enter (carriage return) will produce a package.json in the root directory of the project file
2. Enter cnpm install the terminal will generate a node_modules folder in the root directory of the project
3. The establishment of these folders
Which, webpack.config.js is configured webpac, entrances and exits, plug-ins, loader of
4. The manual packing, terminal input, note that this is webpack4 the latest version.
If successful:
5. Set Automatic packing
(1) Input terminal
(2) then set wbpack.config.js