NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
# 语法: ## 去掉链接里的#号 ## 此方法必须配置后端要不然会报404错误 mode:'history', ~~~ const router = new VueRouter({ mode:'history', routes }) ~~~ ![](https://img.kancloud.cn/26/3f/263f6d11a81ee71c866df6b6f2439ac7_2031x1579.png) # 此链接为后端 nginx或者Apache配置的具体方法 https://router.vuejs.org/zh/guide/essentials/history-mode.html