vue使用history路由模式后打包空白

vue路由默认是hash模式,改成history路由模式可以去掉#,这个除了需要后端服务配合外,config文件修改如下
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/smlljet/article/details/89713837
今日推荐