vue-cli3中template如何使用*.html文件作为模板?

如何在vue-cli3的*.vue文件中使用下面的这种格式?需要做哪些配置吗?

<template src="../template/templateHtml.html" />
<script src="../template/index.js" />
<style src="../template/index.scss" lang="scss" scoped/>
阅读 1.4k
推荐问题