- 博客(2)
- 收藏
- 关注
原创 vue3添加页面进度条
router.beforeEach((to, from, next) => { // 开启进度条 NProgress.start() next() })router.afterEach(() => { // 关闭进度条 NProgress.done() })其次在main.js中引入。然后在路由配置文件中添加。
2024-07-30 19:01:02
736
原创 createWebHistory和createWebHashHistory的区别
vue中常用的两种路由模式:hash路由模式和history路由模式。
2024-06-27 19:36:26
1245
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅