Skip to content

Commit

Permalink
fix(tailwind-demo): purge whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
upupming committed Nov 24, 2021
1 parent 246078b commit fba002a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/tailwind/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ const { themeable } = require('tailwindcss-themeable')

// tailwind.config.js
module.exports = {
purge: ['./index.html', './**/*.{vue,js,ts,jsx,tsx}'],
purge: {
content: ['./index.html', './**/*.{vue,js,ts,jsx,tsx}'],
safelist: [
'themeable-material',
'themeable-dracula'
]
},
darkMode: false, // or 'media' or 'class'
theme: {
extend: {}
Expand Down

0 comments on commit fba002a

Please sign in to comment.