Skip to content

Commit

Permalink
[fix] unable use scss variables
Browse files Browse the repository at this point in the history
  • Loading branch information
rkun123 committed Sep 12, 2021
1 parent 2554e1b commit 80280ea
Show file tree
Hide file tree
Showing 3 changed files with 264 additions and 20,365 deletions.
11 changes: 10 additions & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,17 @@ export default {

// Global CSS: https://go.nuxtjs.dev/config-css
css: [
'@assets/stylesheets/variables.scss'
{
src: './assets/stylesheets/variables.scss', lang: 'scss'

}
],

styleResources: {
scss: [
'./assets/stylesheets/variables.scss'
]
},
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
plugins: [
],
Expand All @@ -35,6 +43,7 @@ export default {
buildModules: [
// https://go.nuxtjs.dev/eslint
'@nuxtjs/eslint-module',
'@nuxtjs/style-resources'
],

// Modules: https://go.nuxtjs.dev/config-modules
Expand Down
Loading

0 comments on commit 80280ea

Please sign in to comment.