Skip to content

Commit 07a012e

Browse files
authored
fix: revert unocss config (#250)
1 parent 8953aa3 commit 07a012e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

client/nuxt.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,5 @@ export default defineNuxtConfig({
4545
})
4646
},
4747
},
48-
unocss: {
49-
autoImport: false,
50-
},
48+
unocss: {},
5149
})

client/vitest.runtime.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ export default defineVitestProject({
1111
environmentOptions: {
1212
nuxt: {
1313
rootDir: fileURLToPath(new URL('./', import.meta.url)),
14+
overrides: {
15+
unocss: {
16+
// TODO: investigate why unocss cause file:///__uno.css not found error in test
17+
autoImport: false,
18+
},
19+
},
1420
},
1521
},
1622
},

0 commit comments

Comments
 (0)