Author: mia yu [personal blog: https://www.jianshu.com/u/b344d2977570]
#How to run project:
npm install
npm run dev
visit: https://localhost:3000 The default port is 3000, but you can change port in webpack.config.js file
#How to build project
npm run dist
It will generate a dist folder.
#如何跑工程
npm install
npm run dev
访问:https://localhost:3000 工程默认端口是3000,你可以到webpack.config.js中改变端口号,或设置ip访问
#如何打包工程
npm run dist
工程会打包生成一个dist文件夹,所有资源都在里面