Merge pull request #415 from timlrx/tailwind/mdx

fix: include tailwind style in mdx files
This commit is contained in:
Timothy 2022-03-03 21:59:38 +08:00 committed by GitHub
commit 37d5008c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,13 @@ module.exports = {
experimental: {
optimizeUniversalDefaults: true,
},
content: ['./pages/**/*.js', './components/**/*.js', './layouts/**/*.js', './lib/**/*.js'],
content: [
'./pages/**/*.js',
'./components/**/*.js',
'./layouts/**/*.js',
'./lib/**/*.js',
'./data/**/*.mdx',
],
darkMode: 'class',
theme: {
extend: {