基于vue-cli3的自动化多页面模板,可以各页面独立资源分文件夹编译和原生所有资源统一编译
Go to file
dependabot[bot] ba4cbe43ff
Bump json5, loader-utils and @vue/cli-service
Bumps [json5](https://github.com/json5/json5) to 2.2.3 and updates ancestor dependencies [json5](https://github.com/json5/json5), [loader-utils](https://github.com/webpack/loader-utils) and @vue/cli-service. These dependencies need to be updated together.


Updates `json5` from 2.1.0 to 2.2.3
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.1.0...v2.2.3)

Updates `loader-utils` from 1.1.0 to 1.4.2
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.1.0...v1.4.2)

Updates `@vue/cli-service` from 3.12.1 to 5.0.8

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
- dependency-name: loader-utils
  dependency-type: indirect
- dependency-name: "@vue/cli-service"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-04 13:43:42 +00:00
public 修改测试页面 2019-12-18 16:08:52 +08:00
script 调整配置文件 2019-12-19 14:42:33 +08:00
src 修改测试页面 2019-12-18 16:08:52 +08:00
.env.ps 修改测试页面 2019-12-18 16:08:52 +08:00
.gitignore 修改测试页面 2019-12-18 16:08:52 +08:00
LICENSE Create LICENSE 2020-03-23 15:53:26 +08:00
README.md 调整配置文件 2019-12-19 14:42:33 +08:00
babel.config.js 修改测试页面 2019-12-18 16:08:52 +08:00
package-lock.json Bump json5, loader-utils and @vue/cli-service 2023-01-04 13:43:42 +00:00
package.json Bump json5, loader-utils and @vue/cli-service 2023-01-04 13:43:42 +00:00
vue.config.js 调整配置文件 2019-12-19 14:42:33 +08:00
yarn.lock Bump json5, loader-utils and @vue/cli-service 2023-01-04 13:43:42 +00:00

README.md

smx-vue-template

第一步

npm install

启动服务

npm run serve

生产编译

npm run build    普通多页面编译,所有独有资源不具体区分
npm run build-s  分离多页面编译,所有独有资源分离存放

vue脚手架配置

配置参考

注意事项: 在build-s分离编译模式下,不支持publicPath的'./'和''配置(资源路径会出现问题).