vue的使用

1.这是router.js页面

 

2.这是main.js页面

 

 

 写了以上即可通过设置路由文件(router.js就可以显示想要显示的页面)

posted @ 2019-12-26 15:48  辛蕾亓  阅读(124)  评论(0)    收藏  举报