Skip to content

Commit

Permalink
fix(nuxt): wrap ssr plugin in defineNuxtPlugin (#2326)
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-online committed Oct 16, 2022
1 parent 95176d7 commit 0a1bb6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nuxt/ssr-plugin.mjs
@@ -1,5 +1,5 @@
import { setSSRHandler } from '@vueuse/core'
import { useCookie, useMeta } from '#imports'
import { defineNuxtPlugin, useCookie, useMeta } from '#imports'

setSSRHandler('getDefaultStorage', () => {
const cookieMap = new Map()
Expand Down Expand Up @@ -37,4 +37,4 @@ if (process.server) {
})
}

export default () => { }
export default defineNuxtPlugin(() => { })

0 comments on commit 0a1bb6a

Please sign in to comment.