使用less
1. 下载依赖
npm i [email protected] [email protected] -S
2. 独立的vue文件
<style lang="less"></style>
使用sass
1. 下载依赖文件
npm i [email protected] [email protected] -D
2. 独立的vue文件
<style lang="scss"></style>
npm i [email protected] [email protected] -S
<style lang="less"></style>
npm i [email protected] [email protected] -D
<style lang="scss"></style>