- 博客(4)
- 收藏
- 关注
原创 npm ERR! 项目名@0.1.0 build: `vue-cli-service build` Failed at the [email protected] build scrip
@0.1.0 build: `vue-cli-service build`Syntax Error: TypeError: this.getOptions is not a function00000
2024-01-20 20:17:43 541
原创 Vue项目服务器(nginx)部署刷新页面404
nginx 部署后刷新出现404问题,vue router mode 默认为hsas,这样的url中会带有#**。改成mode:'history’就能去掉#号。上传代码首页能正常点击到其他页面,但是在其他页面点击刷新则会显示。因为网页上显示的是静态绝对路径,实际上服务器上是没有该路径的。2.修改nginx配置文件(1.Vue中添加代码解决。
2023-07-16 16:46:27 1032
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人