Last active
September 17, 2019 14:57
-
-
Save learntheropes/19d7d51d761b316447461e9acf47075f to your computer and use it in GitHub Desktop.
sass in nuxtjs with bulma
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install --save-dev @nuxtjs/style-resources sass-loader node-sass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* assets/main.scss */ | |
@import "~bulma/sass/utilities/_all.sass"; | |
@import "~assets/style.scss"; | |
@import "~bulma/bulma"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
modules: [ | |
'@nuxtjs/style-resources', | |
'@nuxtjs/bulma' | |
], | |
styleResources: { | |
scss: [ | |
'~assets/main.scss', | |
], | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* assests/style.scss */ | |
$primary: red; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment