update
This commit is contained in:
@@ -42,4 +42,15 @@ const router = new VueRouter({
|
||||
|
||||
3.渲染
|
||||
(1) 在src/main.js中
|
||||
```
|
||||
|
||||
```
|
||||
new Vue({
|
||||
el: '#app',
|
||||
router,
|
||||
render: h => h(App)
|
||||
})
|
||||
|
||||
|
||||
```
|
||||
|
||||
(2) 在src/app.vue 中
|
||||
Reference in New Issue
Block a user