Merge branch 'xuebaoxin' of pplokijuhyg/falvpingtai into master
This commit is contained in:
commit
2e5c2146ee
@ -3,13 +3,13 @@ import Vue from 'vue'
|
|||||||
import Router from 'vue-router'
|
import Router from 'vue-router'
|
||||||
//2.调用vue-router
|
//2.调用vue-router
|
||||||
Vue.use(Router)
|
Vue.use(Router)
|
||||||
|
import hello from "./components/HelloWrld"
|
||||||
const router=new Router({
|
const router=new Router({
|
||||||
routes: [
|
routes: [
|
||||||
// {
|
{
|
||||||
// path: '/',
|
path: '/',
|
||||||
// component: Hello
|
component: hello
|
||||||
// }
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
export default route;
|
export default router;
|
||||||
|
Loading…
Reference in New Issue
Block a user