• Welcome to Baben's blog that year. I'm glad to meet you at the right age!
  • Due to the theme, the QQ login partner displays the default avatar in the comments. Please go to the personal center to upload the avatar again.

Vue uses sass in uni app

Code Notes barben 4 years ago (2020-05-13) 5866 views 1 comment

1. First, you need to install node sass, because sass loader depends on it

 npm install node-sass --save-dev

2. Install sass loader

 npm install sass-loader --save-dev

3. Modify the style tag and declare to use sass

 <style lang="scss" scoped></style>

 


Eight blogs that year, we have been
If the author does not indicate that it is an original article, please indicate the link and source of this article for reprinting
Vue uses sass in uni app- https://www.barben.cn/code/822.html
Like( ten )
Post my comments
Cancel comment
expression Mapping Bold Strike through Center Italic

You need to bring your nickname and email with you in the review of Eight Books that year!

  • Nickname (required)
  • Email (required)
  • website
Successfully captured one Only rare elves
  1. This is not just scss, sass
    ah 2021-05-13 22:20 reply