Created
October 28, 2021 04:00
-
-
Save fysherman/36d9cada3166f0a855e129c92593325f to your computer and use it in GitHub Desktop.
Use scss global variable in Nuxt js
This file contains 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
{ | |
buildModules: [ | |
'@nuxtjs/style-resources' | |
], | |
styleResources: { | |
scss: [ | |
'./assets/scss/_responsive.scss', // use underscore "_" & also file extension ".scss" | |
'./assets/scss/_variables.scss' // use underscore "_" & also file extension ".scss" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment