css external file introduction:
Global reference
在main.js文件中
import './style/reset.css'
<style>
@import '../../xxx.css'; //要写分号否则会报错
</style>
Gone. . .
<style scoped>
//写scoped表示只在当前局部有效
</style>
css external file introduction:
在main.js文件中
import './style/reset.css'
<style>
@import '../../xxx.css'; //要写分号否则会报错
</style>
Gone. . .
<style scoped>
//写scoped表示只在当前局部有效
</style>