直接上干货:
1、src
<style lang="scss" scoped src="./index.scss">
</style>
2、import
<style lang="scss" scoped >
@import "./index.scss"
</style>
两种写法均可
直接上干货:
1、src
<style lang="scss" scoped src="./index.scss">
</style>
2、import
<style lang="scss" scoped >
@import "./index.scss"
</style>
两种写法均可