vuejs·使用样式处理器sass
只需要两步:
1.终端载入(在项目下)
npm i sass sass-loader -D
2.使用
<style lang="scss" scoped> <style> //scoped为锁住样式避免被其他样式污染
vuejs·使用样式处理器sass
只需要两步:
1.终端载入(在项目下)
npm i sass sass-loader -D
2.使用
<style lang="scss" scoped> <style> //scoped为锁住样式避免被其他样式污染