diff --git a/nuxt.config.js b/nuxt.config.js index c0a2db1..04e0028 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -53,6 +53,10 @@ export default { buildModules: [ ], + styleResources: { + scss: '@/assets/scss/global.scss' + }, + // Modules: https://go.nuxtjs.dev/config-modules modules: [ '@nuxtjs/axios', @@ -60,10 +64,6 @@ export default { '@nuxtjs/style-resources' ], - styleResources: { - scss: '@/assets/scss/global.scss' - }, - // Build Configuration: https://go.nuxtjs.dev/config-build build: { transpile: [/^element-ui/],