Skip to content

Commit

Permalink
fix(nuxt): use defineNuxtPlugin (#1269)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmarrec committed Jul 16, 2022
1 parent b190e37 commit 1081ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt/src/index.ts
Expand Up @@ -37,7 +37,7 @@ export default defineNuxtModule<UnocssNuxtOptions>({
getContents: () => {
const lines = [
'import \'uno.css\'',
'export default () => {};',
'export default defineNuxtPlugin(() => {})',
]
if (options.preflight)
lines.unshift('import \'@unocss/reset/tailwind.css\'')
Expand Down

0 comments on commit 1081ca5

Please sign in to comment.