- 博客(1)
- 收藏
- 关注
原创 Vue中Router的使用步骤
首先介绍一下基础使用步骤 1.引入vue和vue-router库 2.创建router组件(.vue结尾的文件) 3.创建router对象 const router = new VueRouter({ routes:[ {path:'/xxx',component:xxx}, {path:'*',redirect:path} ... ...
2021-06-27 21:09:35
296
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人