我在nuxt.config.js明明已经设置过为什么还是不行??
module.exports = {
...
router:{
mode:'history'
},
...
}
路由还是这个样子
http://localhost:3000/#
我不想要后面的/#这个东西
我在nuxt.config.js明明已经设置过为什么还是不行??
module.exports = {
...
router:{
mode:'history'
},
...
}
路由还是这个样子
http://localhost:3000/#
我不想要后面的/#这个东西
10 回答11.3k 阅读
5 回答4.9k 阅读✓ 已解决
4 回答3.2k 阅读✓ 已解决
2 回答2.8k 阅读✓ 已解决
3 回答2.4k 阅读✓ 已解决
3 回答2.2k 阅读✓ 已解决
2 回答2.6k 阅读✓ 已解决
这个 # 哪来的呢,默认 nuxt 就是 history 的方式:
https://github.com/nuxt/nuxt....
你的 nuxt 是什么版本