把项目分为多个模块,分别从2个入口进入,减少集中在一个包中容量,
主要步骤如下:
#开发阶段访问地址 http://localhost:8080/#/ http://localhost:8080/indexfei.html#/ #打包后访问地址 http://xxx.fei.xxx/#/ http://xxx.fei.xxx/indexFei.html#/
Vue vue-cli webpack 多入口
原文:https://www.cnblogs.com/dafei4/p/14856903.html