1、在对应.vue文件的<script></script>中引入(仅引入存在于项目的)

<script>
import "@/assets/css/reset.css"
</script>

2、在.vue文件的<style></style>中引入(可引入存在于当前项目中的css或在线网址)

<style>
@import "https://unpkg.com/element-ui@2.13.0/lib/theme-chalk/index.css";
</style>

 

相关文章:

  • 2021-12-18
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2021-10-19
  • 2021-11-30
  • 2021-06-07
猜你喜欢
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-28
相关资源
相似解决方案