falvpingtai/src/router.js

18 lines
352 B
JavaScript
Raw Normal View History

2019-11-25 08:43:09 +08:00
import Vue from 'vue'
//1.导入路由组件vue-router
import Router from 'vue-router'
//2.调用vue-router
Vue.use(Router)
2019-11-25 14:16:41 +08:00
// import PersonalHomepage from "./PersonalHomepage"
import ManualAppeal from "./ManualAppeal"
2019-11-25 08:43:09 +08:00
const router=new Router({
routes: [
2019-11-25 08:44:51 +08:00
{
path: '/',
2019-11-25 14:16:41 +08:00
component: ManualAppeal
2019-11-25 08:44:51 +08:00
}
2019-11-25 14:16:41 +08:00
2019-11-25 08:43:09 +08:00
]
});
2019-11-25 08:44:51 +08:00
export default router;