【vue】-- vue-cli3 打包

vue-cli3 打包后 路径错误

1、新建 vue.config.js

module.exports = {
    publicPath: './',    
    lintOnSave:false     //关闭eslint 
}

2、router mode模式 设置为 hash

posted @ 2019-11-13 16:57  ZJT_T  阅读(301)  评论(0编辑  收藏  举报