Vue項目部署tomcat,刷新報錯404解決辦法

vue建立項目使用腳手架有兩種方式:html 1,vue init webpack myvue 這種方式的項目打包,須要找到config/index.js文件將build中的assetsPublicPath: '/',修改爲 assetsPublicPath: './',java build: { // Template for index.html index: path.res
相關文章
相關標籤/搜索