文章分类 -  vue学习踩坑

vue打包后显示空白的路径问题
摘要:需要修改的地方有三处。 第一处在build/utils.js添加 publicPath: '../../' 第二处config/index.js添加assetsPublicPath: './',这个看图.注意是在build下 第三处在src/router/index.js里面修改mode然后就可以打 阅读全文

posted @ 2018-04-17 17:41 种自己 阅读(41) 评论(0) 推荐(0)