首页 > 技术文章 > vue-router路由

heatainf 2020-04-23 13:22 原文

1.新建一个vue文件

2.在index.js里引入并配置路由

3.然后在App.vue的模板里展示

4.点了就切换页面

推荐阅读