Skip to content

Commit

Permalink
Merge pull request konstaui#2 from halwesit/patch-1
Browse files Browse the repository at this point in the history
Update tailwind.config.js
  • Loading branch information
nolimits4web authored Apr 14, 2023
2 parents ac1087e + b1741e6 commit 511ac58
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
// import konstaConfig config
const konstaConfig = require('konsta/config');
const konstaConfig = require('konsta/config')

// wrap config with konstaConfig config
const config = konstaConfig({
content: [
'./components/*.{js,ts,jsx,vue}',
'./pages/*.{js,ts,jsx,vue}',
'./components/**/*.{js,vue,ts}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./plugins/**/*.{js,ts}',
'./nuxt.config.{js,ts}',
'./app.vue',
],
darkMode: 'class', // or 'class'
// darkMode: 'class', // or 'class'
theme: {
extend: {},
},
variants: {
extend: {},
},
plugins: [],
});
module.exports = config;
})
module.exports = config

0 comments on commit 511ac58

Please sign in to comment.