feat: styleResources配置前置

merge-requests/10/head
xiaoguang 3 years ago
parent 8eb0eee86a
commit 3198052e6f

@ -53,6 +53,10 @@ export default {
buildModules: [ buildModules: [
], ],
styleResources: {
scss: '@/assets/scss/global.scss'
},
// Modules: https://go.nuxtjs.dev/config-modules // Modules: https://go.nuxtjs.dev/config-modules
modules: [ modules: [
'@nuxtjs/axios', '@nuxtjs/axios',
@ -60,10 +64,6 @@ export default {
'@nuxtjs/style-resources' '@nuxtjs/style-resources'
], ],
styleResources: {
scss: '@/assets/scss/global.scss'
},
// Build Configuration: https://go.nuxtjs.dev/config-build // Build Configuration: https://go.nuxtjs.dev/config-build
build: { build: {
transpile: [/^element-ui/], transpile: [/^element-ui/],

Loading…
Cancel
Save