diff --git a/packages/bridge/package.json b/packages/bridge/package.json index ed2881cc54..c305b5a6b8 100644 --- a/packages/bridge/package.json +++ b/packages/bridge/package.json @@ -27,7 +27,6 @@ "@nuxt/ui-templates": "npm:@nuxt/ui-templates-edge@latest", "@vitejs/plugin-legacy": "^1.8.0", "@vue/composition-api": "^1.4.9", - "@vueuse/head": "^0.7.5", "acorn": "^8.7.0", "cookie-es": "^0.5.0", "defu": "^6.0.0", @@ -73,6 +72,7 @@ "@types/fs-extra": "^9.0.13", "@types/hash-sum": "^1.0.0", "@types/node-fetch": "^3.0.2", + "@vueuse/head": "^0.7.5", "nuxt": "^2", "unbuild": "latest", "vue": "^2", diff --git a/packages/bridge/src/meta.ts b/packages/bridge/src/meta.ts index 1cee26b47a..97dbc3d9b8 100644 --- a/packages/bridge/src/meta.ts +++ b/packages/bridge/src/meta.ts @@ -16,7 +16,7 @@ export const setupMeta = async (opts: SetupMetaOptions) => { if (opts.needsExplicitEnable) { const metaPath = addTemplate({ filename: 'meta.mjs', - getContents: () => `export const useHead = () => console.warn('${msgPrefix} To use \`useHead\`, please set \`bridge.meta\` to \`true\` in your \`nuxt.config\`. ${checkDocsMsg}')` + getContents: () => `export const useHead = () => console.warn('${msgPrefix} To enable experimental \`useHead\` support, set \`bridge.meta\` to \`true\` in your \`nuxt.config\`. ${checkDocsMsg}')` }) nuxt.options.alias['#head'] = metaPath.dst return