如何在vue-cli3的*.vue文件中使用下面的这种格式?需要做哪些配置吗?
<template src="../template/templateHtml.html" />
<script src="../template/index.js" />
<style src="../template/index.scss" lang="scss" scoped/>
如何在vue-cli3的*.vue文件中使用下面的这种格式?需要做哪些配置吗?
<template src="../template/templateHtml.html" />
<script src="../template/index.js" />
<style src="../template/index.scss" lang="scss" scoped/>
13 回答13.1k 阅读
8 回答3k 阅读
3 回答1.5k 阅读✓ 已解决
2 回答5.3k 阅读✓ 已解决
5 回答1.6k 阅读
9 回答1.8k 阅读✓ 已解决
6 回答1.8k 阅读
英文文档上有介绍的:https://vuejs.org/api/sfc-spe...