摘要: 1.项目目录下添加vue.config.js文件,写入: module.exports:{ publicPath:'./' } 另外(差点忘了),router下index.js文件夹的history注释掉 tips:此处vue-cli版本3.3上。 2.组件路径都用绝对路径 @挺好用的,图片和组件都 阅读全文
posted @ 2020-05-22 21:30 vera-7c 阅读(474) 评论(0) 推荐(0) 编辑