Csuper Blog

Csuper Blog

vue打包npm run build时候界面报错的解决
2020-12-25

 

用coding-pages打开后显示Failed to load resource: the server responded with a status of 404 (Not Found),

解决方案:

 

找到config里的index.js,打开修改assetsPublicPath 为“./”

发表评论: