Vue项目的打包

Vue项目的打包 /build目录下的utils.js加一行 publicPath: '../../' /config目录下的index.js中将build下assetsPublicPath的值改为'./' productionSourceMap的值改为false /src/router下的index.js中mode改为'hash' 最后还要注意main.js中组件的引入顺序,样式引用要在rout
相关文章
相关标签/搜索