摘要: 一:用node配置(确保有node) 1. npm install http-server 2.cd 到指定目录 3.http-server 二:webpack配置 1.在config里的index.js中 function getIPAdress(){ var interfaces = requi 阅读全文
posted @ 2018-11-21 20:53 米牙 阅读(692) 评论(0) 推荐(0) 编辑
摘要: 1. config 下的index.js,修改“assetsPublicPath: './'或是''(即删掉这个), //打包路径错误的修改” 2. build下的utils.js 增加“publicPath: '../../'” 阅读全文
posted @ 2018-11-21 20:41 米牙 阅读(284) 评论(0) 推荐(0) 编辑