fix(bridge): don't rely on auto-imports in internal plugin (#700)

This commit is contained in:
Daniel Roe 2021-10-08 09:17:58 +02:00 committed by GitHub
parent a4f06716be
commit 8df29679ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,5 @@
import { defineNuxtPlugin } from '#app'
const vueMetaRenderer = (nuxt) => {
const meta = nuxt.ssrContext.meta.inject({
isSSR: nuxt.ssrContext.nuxt.serverRendered,