update
This commit is contained in:
@@ -112,5 +112,29 @@ new Vue({
|
|||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
a.vue
|
||||||
|
```
|
||||||
|
```
|
||||||
|
a.vue
|
||||||
|
|
||||||
a.
|
|
||||||
|
b.vue (组件b)
|
||||||
|
|
||||||
|
```
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<div>这是bbb</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name:"b"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user