vue-router ----- 路由的history需要配合后端设置

因为单页面应用只用一个html文件

history需要配合后端配置

不然当重新刷新 就会报错404

发布了115 篇原创文章 · 获赞 15 · 访问量 11万+

猜你喜欢

转载自blog.csdn.net/Angel_jn/article/details/104544733