Webpack-cli构建PC端Vue单页面应用模版
In the project directory, you can run:
- 安装
npm install / yarn install
- 公共库或代码打包
npm run dlllibs / yarn dlllibs
- 开发环境服务启动
npm run start / yarn start
Runs the app in the development mode.
Open http://localhost:3603 to view it in the browser.
- run unit tests
npm run unit / yarn unit
- run e2e tests
npm run e2e / yarn e2e
- run all tests
npm run test / yarn test
获取mock.js测试模拟后端数据在微前端qiankun框架模版中启动yarn mockserver
-> nodemon mock/server.js
npm run build / yarn build
npm run build --report / yarn build --report
拷贝dist文件夹至服务器即可