Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Commit c73bd3b

Browse files
committed
feat: add styles/components/sample.scss
1 parent e2065b8 commit c73bd3b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

nuxt.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ module.exports = {
6161
// Doc: https://axios.nuxtjs.org/usage
6262
'@nuxtjs/axios',
6363
'@nuxtjs/pwa',
64+
// https://github.com/nuxt-community/style-resources-module/
65+
'@nuxtjs/style-resources',
6466
// https://github.com/potato4d/nuxt-client-init-module
6567
// https://qiita.com/potato4d/items/cc5d8ea24949e86f8a5b
6668
'nuxt-client-init-module',
@@ -132,5 +134,8 @@ module.exports = {
132134
component: resolve(__dirname, 'src/include/include.vue')
133135
})
134136
}
137+
},
138+
styleResources: {
139+
scss: ['@/assets/styles/components/**/*.scss']
135140
}
136141
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.color {
2+
color: aqua;
3+
}

0 commit comments

Comments
 (0)