抽离路由模块

新建一个router.js文件

导入组件创建对象

main.js中导入路由

猜你喜欢

转载自blog.csdn.net/qq_36763293/article/details/85936801