如何在 vue 项目DOM中引入.html 文件
index.vue
<template src="./component.html">
</template>
component.html
<div>
conponent引入
</div>
如果引入多个只会展示最后一个
<template src="./component.html">
</template>
<template src="./conponent2.html">
</template>
如何在 vue 项目DOM中引入.html 文件
index.vue
<template src="./component.html">
</template>
component.html
<div>
conponent引入
</div>
如果引入多个只会展示最后一个
<template src="./component.html">
</template>
<template src="./conponent2.html">
</template>