import and use box component
This commit is contained in:
parent
44b5cc1298
commit
8aca717b0c
@ -3,17 +3,21 @@
|
|||||||
<my-add></my-add>
|
<my-add></my-add>
|
||||||
<p>-----------------------------------------</p>
|
<p>-----------------------------------------</p>
|
||||||
<my-sub></my-sub>
|
<my-sub></my-sub>
|
||||||
|
<p>-----------------------------------------</p>
|
||||||
|
<box></box>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import add from './components/add.vue'
|
import add from './components/add.vue'
|
||||||
import sub from "./components/sub.vue"
|
import sub from "./components/sub.vue"
|
||||||
|
import box from './components/box.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components:{
|
components:{
|
||||||
"my-add":add,
|
"my-add":add,
|
||||||
"my-sub":sub
|
"my-sub":sub,
|
||||||
|
box
|
||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
@ -25,4 +29,4 @@ export default {
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user