Skip to content

Commit

Permalink
fix(docs): unocss
Browse files Browse the repository at this point in the history
  • Loading branch information
YannicEl committed Aug 1, 2023
1 parent 11a7d44 commit bfd6301
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import UnoCSS from 'unocss/vite';
import { defineConfig } from 'vitepress';

// https://vitepress.dev/reference/site-config
Expand Down Expand Up @@ -28,4 +29,8 @@ export default defineConfig({
hostname: 'https://example.com',
lastmodDateOnly: true,
},

vite: {
plugins: [UnoCSS()],
},
});
2 changes: 1 addition & 1 deletion packages/docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DefaultTheme from 'vitepress/theme';

import 'uno.css';
import 'virtual:uno.css';

export default {
...DefaultTheme,
Expand Down

0 comments on commit bfd6301

Please sign in to comment.