Skip to content

Commit 511ac58

Browse files
authored
Merge pull request #2 from halwesit/patch-1
Update tailwind.config.js
2 parents ac1087e + b1741e6 commit 511ac58

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

tailwind.config.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
// import konstaConfig config
2-
const konstaConfig = require('konsta/config');
2+
const konstaConfig = require('konsta/config')
33

44
// wrap config with konstaConfig config
55
const config = konstaConfig({
66
content: [
77
'./components/*.{js,ts,jsx,vue}',
88
'./pages/*.{js,ts,jsx,vue}',
9+
'./components/**/*.{js,vue,ts}',
10+
'./layouts/**/*.vue',
11+
'./pages/**/*.vue',
12+
'./plugins/**/*.{js,ts}',
13+
'./nuxt.config.{js,ts}',
14+
'./app.vue',
915
],
10-
darkMode: 'class', // or 'class'
16+
// darkMode: 'class', // or 'class'
1117
theme: {
1218
extend: {},
1319
},
1420
variants: {
1521
extend: {},
1622
},
1723
plugins: [],
18-
});
19-
module.exports = config;
24+
})
25+
module.exports = config

0 commit comments

Comments
 (0)