Vue 打包后页面空白解决办法
在vue.config.js
( Vue2 是config/index.js
)中添加assetsPublicPath:'./'
,如果没有这个文件自己手动建一个,再重新npm run build
在vue.config.js
( Vue2 是config/index.js
)中添加assetsPublicPath:'./'
,如果没有这个文件自己手动建一个,再重新npm run build
pc端打开:https://yangyanyan.top/pygshopping/
源码(记得给我个star):https://gitee.com/yyy1203/pyg-shopping.git
除了页面布局,还结合了后面的js和jq,为网页增加一些特效,此网站目前只是前端静态
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
$ hexo new "My New Post"
More info: Writing