实现效果
使用 createWebHistory,路径中不带井号(#)。
首页
About 页面
![](https://i-blog.csdnimg.cn/blog_migrate/ede03b345885551a96d6f3e39424a009.png)
完整代码结构(代码资源:https://download.csdn.net/download/chanbzou1981/88319691?spm=1001.2014.3001.5503):
使用 createWebHistory,路径中不带井号(#)。
完整代码结构(代码资源:https://download.csdn.net/download/chanbzou1981/88319691?spm=1001.2014.3001.5503):