vue组件中嵌套html,vue2.0怎么用组件自定义标签实现组件的嵌套?-CSDN博客

网站介绍:文章浏览阅读201次。想用这种方式实现组件嵌套:目前实现的方式:是在app-content.vue中的template中嵌套的index.htmlmain.jsimport Vue from '../node_modules/vue/dist/vue';import app from './app.js';new Vue(app);app.jsimport content from '../components/app..._vue组件中包裹自定义html