路由
This commit is contained in:
parent
365e58385d
commit
c42853582f
@ -3,7 +3,7 @@ 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"
|
import hello from "./components/HelloWorld"
|
||||||
const router=new Router({
|
const router=new Router({
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user