From 3198052e6f9128bc39ad5e1e5a50068afbf15eef Mon Sep 17 00:00:00 2001 From: xiaoguang Date: Tue, 10 May 2022 11:46:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20styleResources=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=89=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuxt.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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/],