Skip to content

Commit

Permalink
docs: add windi css settings
Browse files Browse the repository at this point in the history
  • Loading branch information
monsat committed Jan 6, 2022
1 parent 7cda89c commit 999a695
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,18 @@ export default defineUserConfig<DefaultThemeOptions, ViteBundlerOptions>({
bundlerConfig: {
viteOptions: {
plugins: [
WindiCSS(),
WindiCSS(
scan: {
include: [
path.resolve(__dirname, './**/*.{vue,html,md}'),
path.resolve(__dirname, '../../node_modules/vuepress-plugin-netabare-switch/lib/**/*.{vue,html,md}'),
],
exclude: [
'node_modules/**/*',
'.git/**/*',
],
},
),
],
},
},
Expand Down

0 comments on commit 999a695

Please sign in to comment.