Skip to content

Commit

Permalink
fix: temporary fix to unocss issue with new nuxt version + innecesary…
Browse files Browse the repository at this point in the history
… critters

unocss/unocss#3472
when the issue is solve we must remove the inlineStyles: false on nuxt.config.ts
  • Loading branch information
Aterbonus committed Jan 1, 2024
1 parent ade6e13 commit ac6085b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
export default defineNuxtConfig({
modules: ['@nuxtjs/critters', '@unocss/nuxt', '@vueuse/nuxt'],
modules: ['@unocss/nuxt', '@vueuse/nuxt'],
unocss: {
preflight: true
},
critters: {
config: {
// @ts-expect-error false exists as an option, but the typing is wrong
preload: false
}
features: {
inlineStyles: false
}
})

0 comments on commit ac6085b

Please sign in to comment.