\r\n\r\nself.addEventListener(\r\n 'message',\r\n (\r\n evt: MessageEvent\u003C{\r\n message: string\r\n }>,\r\n ) => {\r\n const { message } = evt.data\r\n const greeting = `Hello ${upperCase(message)} from assets!`\r\n\r\n postMessage({ greeting })\r\n },\r\n)\r\n```\r\n\r\nCreate a app.vue file\r\n\r\n```vue\r\n\u003Cscript setup lang=\"ts\">\r\nimport Runner from './utils/workers/index?worker'\r\n\r\nconst message = ref('Nuxt')\r\n\r\nfunction sayHello(from: 'workers' | 'composable') {\r\n if (from === 'workers') {\r\n const worker = new Runner()\r\n worker.postMessage({ message: message.value })\r\n worker.addEventListener(\r\n 'message',\r\n (\r\n evt: MessageEvent\u003C{\r\n greeting: string\r\n }>,\r\n ) => {\r\n const { greeting } = evt.data\r\n alert(greeting)\r\n },\r\n )\r\n } else {\r\n sayHelloFromComposable(message.value)\r\n }\r\n}\r\n\u003C/script>\r\n\r\n\u003Ctemplate>\r\n \u003Ch1>Demo with auto imports\u003C/h1>\r\n \u003CCustomInput v-model=\"message\" />\r\n \u003Cbutton type=\"submit\" @click=\"sayHello('composable')\">\r\n Hello from composable\r\n \u003C/button>\r\n \u003Cbutton type=\"submit\" @click=\"sayHello('workers')\">Hello from workers\u003C/button>\r\n\u003C/template>\r\n./assets/workers\r\n```\r\n\r\n### Describe the bug\r\n\r\n## Actual Behavior\r\n\r\nIn development mode, the utils/ directory is auto imported, so the upperCase function is available on the assets/index.ts file.\r\n\r\nIn production mode, we have this error:\r\n\r\n```txt\r\nUncaught ReferenceError: upperCase is not defined\r\n at index-8e797b43.js:1:88\r\n```\r\n\r\n## Expected Behavior\r\n\r\nThis should work with the same behavior in development and production mode.\r\n\r\n\r\n### Additional context\r\n\r\n\r\nI call the utils to function in `worker` file\r\n\r\n### Logs\r\n\r\n_No response_",[2001,2004,2007,2010],{"name":2002,"color":2003},"workaround available","11376d",{"name":2005,"color":2006},"bug","d73a4a",{"name":2008,"color":2009},"vite","3574D1",{"name":2011,"color":2012},"🍰 p2-nice-to-have","0E8A16",24590,"Utils folder is not auto imported on production mode when using in worker file","2024-11-19T11:52:00Z","https://github.com/nuxt/nuxt/issues/24590",0.74047464,{"description":2019,"labels":2020,"number":2021,"owner":1991,"repository":2022,"state":1993,"title":2023,"updated_at":2024,"url":2025,"score":2026},"**Steps to re-produce**\n\n1. Add Nuxtjs/fonts to existing Nuxtjs project.\n2. Commit and merge to repo.\n3. Netlify CI to run the build automatically\n\n**Expected**: It should work and deploy new website.\n**Actual**: Build failed due to stack overflow (see below)\n\n```bash\n11:07:10 AM: (build.command completed in 23.5s)\n11:07:10 AM: \n11:07:10 AM: Functions bundling \n11:07:10 AM: ────────────────────────────────────────────────────────────────\n11:07:10 AM: \n11:07:10 AM: Packaging Functions from .netlify/functions-internal directory:\n11:07:10 AM: - server/server.mjs\n11:07:10 AM: \n11:07:14 AM: Failed during stage 'building site': Build script returned non-zero exit code: 134 (https://ntl.fyi/exit-code-134)\n11:07:14 AM: \u003C--- Last few GCs --->\n11:07:14 AM: [5737:0x2a4198b0] 31266 ms: Mark-sweep (reduce) 281.4 (328.9) -> 281.3 (296.7) MB, 46.2 / 0.0 ms (average mu = 0.894, current mu = 0.167) last resort; GC in old space requested\n11:07:14 AM: [5737:0x2a4198b0] 31317 ms: Mark-sweep (reduce) 281.3 (296.7) -> 281.3 (296.2) MB, 50.8 / 0.0 ms (average mu = 0.790, current mu = 0.001) last resort; GC in old space requested\n11:07:14 AM: \u003C--- JS stacktrace --->\n11:07:14 AM: FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory\n11:07:14 AM: 1: 0xb9c1f0 node::Abort() [/opt/buildhome/node-deps/node]\n11:07:14 AM: 2: 0xaa27ee [/opt/buildhome/node-deps/node]\n11:07:14 AM: 3: 0xd73b90 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/opt/buildhome/node-deps/node]\n11:07:14 AM: 4: 0xd73f37 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/opt/buildhome/node-deps/node]\n11:07:14 AM: 5: 0xf3f3cf v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/opt/buildhome/node-deps/node]\n11:07:14 AM: 6: 0xf1f398 v8::internal::Factory::CodeBuilder::AllocateCode(bool) [/opt/buildhome/node-deps/node]\n11:07:14 AM: 7: 0xf3330c v8::internal::Factory::CodeBuilder::BuildInternal(bool) [/opt/buildhome/node-deps/node]\n11:07:14 AM: 8: 0xf33d5e v8::internal::Factory::CodeBuilder::Build() [/opt/buildhome/node-deps/node]\n11:07:14 AM: 9: 0x15ed5ce v8::internal::RegExpMacroAssemblerX64::GetCode(v8::internal::Handle\u003Cv8::internal::String>) [/opt/buildhome/node-deps/node]\n11:07:14 AM: 10: 0x12b20c6 v8::internal::RegExpCompiler::Assemble(v8::internal::Isolate*, v8::internal::RegExpMacroAssembler*, v8::internal::RegExpNode*, int, v8::internal::Handle\u003Cv8::internal::String>) [/opt/buildhome/node-deps/node]\n11:07:14 AM: 11: 0x12d1ff7 v8::internal::RegExpImpl::Compile(v8::internal::Isolate*, v8::internal::Zone*, v8::internal::RegExpCompileData*, v8::base::Flags\u003Cv8::internal::RegExpFlag, int>, v8::internal::Handle\u003Cv8::internal::String>, v8::internal::Handle\u003Cv8::internal::String>, bool, unsigned int&) [/opt/buildhome/node-deps/node]\n11:07:14 AM: 12: 0x12d2772 v8::internal::RegExpImpl::CompileIrregexp(v8::internal::Isolate*, v8::internal::Handle\u003Cv8::internal::JSRegExp>, v8::internal::Handle\u003Cv8::internal::String>, bool) [/opt/buildhome/node-deps/node]\n11:07:14 AM: 13: 0x12d332e v8::internal::RegExpImpl::IrregexpPrepare(v8::internal::Isolate*, v8::internal::Handle\u003Cv8::internal::JSRegExp>, v8::internal::Handle\u003Cv8::internal::String>) [/opt/buildhome/node-deps/node]\n11:07:14 AM: 14: 0x12d34d3 v8::internal::RegExpImpl::IrregexpExec(v8::internal::Isolate*, v8::internal::Handle\u003Cv8::internal::JSRegExp>, v8::internal::Handle\u003Cv8::internal::String>, int, v8::internal::Handle\u003Cv8::internal::RegExpMatchInfo>, v8::internal::RegExp::ExecQuirks) [/opt/buildhome/node-deps/node]\n11:07:14 AM: 15: 0x12f886e v8::internal::Runtime_RegExpExec(int, unsigned long*, v8::internal::Isolate*) [/opt/buildhome/node-deps/node]\n11:07:14 AM: 16: 0x17122f9 [/opt/buildhome/node-deps/node]\n11:07:14 AM: /opt/build-bin/build: line 140: 5737 Aborted (core dumped) FORCE_COLOR=1 \"$netlify_build_node_bin\" --import=\"$netlify_otel_sdk_setup_bin\" \"$netlify_build_bin\" --cwd=\"$repository_root\" --repositoryRoot=\"$repository_root\" --packagePath=\"$package_path\" --config=\"$configuration_file_path\" --branch=\"$branch\" --siteId=\"$site_id\" --accountId=\"$account_id\" --defaultConfig=\"$default_config\" --baseRelDir=\"$base_rel_dir\" --context=\"$context\" --node-path=\"$user_node_path\" --cachedConfigPath=\"$cached_netlify_build_config_file\" --api-host=\"$netlify_endpoint\" --token=\"$netlify_token\" --build-id=\"$BUILD_ID\" --deploy-id=\"$DEPLOY_ID\" --mode=\"buildbot\" --telemetry=\"$build_telemetry\" --send-status --save-config --statsd.host=\"$HOST_NODE_IP\" --statsd.port=\"$STATSD_PORT\" --tracing.enabled=\"$tracing_enabled\" --tracing.preloadingEnabled=\"$tracing_preloading_enabled\" --tracing.sampleRate=\"$tracing_sample_rate\" --tracing.host=\"$HOST_NODE_IP\" --tracing.traceId=\"$trace_id\" --tracing.parentSpanId=\"$parent_span_id\" --tracing.traceFlags=\"$trace_flags\" --tracing.baggageFilePath=\"$tracing_baggage_file_path\" --functions-dist-dir=\"$functions_dist_dir\" --edge-functions-dist-dir=\"$edge_functions_dist_dir\" --cache-dir=\"$cache_dir\" --buildbot-server-socket=\"$buildbot_server_socket\" --framework=\"$framework\" --feature-flags=\"$feature_flags\" --testOpts.silentLingeringProcesses=\"$SILENT_LINGERING_PROCESSES\" --system-log-file=\"$system_log_file\" --explicit-secret-keys=\"$explicit_secret_keys\"\n11:07:14 AM: Error running command: Build script returned non-zero exit code: 134\n11:07:14 AM: Failing build: Failed to build site\n11:07:14 AM: Finished processing build request in 1m9.41s\n```\n\n**Package.json**\n\n```json\n\n \"dependencies\": {\n \"@nuxt/content\": \"^2.13.1\",\n \"@nuxt/eslint\": \"^0.3.13\",\n \"@nuxt/fonts\": \"^0.10.3\",\n \"@nuxt/image\": \"^1.7.0\",\n \"@nuxtjs/google-fonts\": \"3.2.0\",\n \"@nuxtjs/i18n\": \"^8.3.1\",\n \"@nuxtjs/storybook\": \"^8.1.1\",\n \"@nuxtjs/tailwindcss\": \"^6.12.0\",\n \"nuxt\": \"^3.12.3\",\n \"nuxt-gtag\": \"^2.0.7\",\n \"nuxt-simple-robots\": \"^4.0.0-rc.20\",\n \"rss\": \"^1.2.2\",\n \"sitemap\": \"^8.0.0\",\n \"vue\": \"latest\"\n },\n\"resolutions\": {\n \"string-width\": \"4.2.3\"\n },\n \"devDependencies\": {\n \"@egoist/tailwindcss-icons\": \"^1.8.1\",\n \"@iconify-json/mingcute\": \"^1.1.18\",\n \"@nuxtjs/storybook\": \"7.0.2\",\n \"@storybook-vue/nuxt\": \"0.2.6\",\n \"@storybook/addon-essentials\": \"8.0.8\",\n \"@storybook/addon-interactions\": \"8.0.8\",\n \"@storybook/addon-links\": \"8.0.8\",\n \"@storybook/blocks\": \"8.0.8\",\n \"@storybook/builder-vite\": \"8.0.8\",\n \"@storybook/test\": \"8.0.8\",\n \"@storybook/vue3\": \"8.0.8\",\n \"@types/node\": \"^18.17.5\",\n \"reading-time\": \"^1.5.0\",\n \"remark-reading-time\": \"^2.0.1\",\n \"storybook\": \"8.0.8\",\n \"unist-util-visit\": \"^5.0.0\"\n },\n```\n\n**nuxt.config.js**\n\n```js\nmodules: [\n '@nuxtjs/tailwindcss',\n '@nuxtjs/i18n',\n '@nuxt/image',\n '@nuxt/eslint',\n '@nuxt/content',\n 'nuxt-simple-robots',\n '@nuxt/fonts',\n 'nuxt-gtag',\n ],\n fonts: {\n default: {\n weights: [200, 300, 400]\n },\n families: [\n { name: 'Gabarito', provider: 'google', global: true, weight: '200' }\n ]\n },\n nitro: {\n prerender: {\n routes: ['/sitemap.xml', '/rss.xml', '/'],\n },\n },\n```\n\nIt works locally, only fails in deployment. I tried to build locally but I got error on the pre-render `sitemap` thing, not the stack overflow error.\nRemoving prerender and build locally works (not sure if this relates).",[],450,"fonts","Using Nuxtjs/fonts broke Netlify Build","2025-01-12T00:50:39Z","https://github.com/nuxt/fonts/issues/450",0.7483376,{"description":2028,"labels":2029,"number":2033,"owner":1991,"repository":1991,"state":2034,"title":2035,"updated_at":2036,"url":2037,"score":2038},"### Environment\r\n\r\nWorking directory: C:/Users/vtvsn/Documents/.node_projects/nuxt-worker-custom-renderer 17:54:12\r\nNuxt project info: 17:54:12\r\n\r\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v21.1.0\r\n- Nuxt Version: 3.13.1\r\n- CLI Version: 3.10.0\r\n- Nitro Version: 2.9.7\r\n- Package Manager: pnpm@8.14.1\r\n- Builder: -\r\n- User Config: compatibilityDate, devtools, vue, ssr\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n------------------------------\r\n\r\n### Reproduction\r\n\r\nHere is reproduction repo:\r\nhttps://github.com/set5u/nuxt-worker-custom-renderer\r\n\r\n### Describe the bug\r\n\r\nWhen I try to use Vue's custom renderer API in a WebWorker, it works in dev mode but doesn't work when I generate it.\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n```shell-script\r\nC:\\Users\\vtvsn\\Documents\\.node_projects\\nuxt-worker-custom-renderer>nuxi generate\r\nNuxt 3.13.1 with Nitro 2.9.7 17:52:14\r\nℹ Using Nitro server preset: static 17:52:14\r\nℹ Building client... 17:52:17\r\nℹ vite v5.4.5 building for production... 17:52:17\r\nℹ ✓ 107 modules transformed. 17:52:18 \r\n\r\n ERROR x Build failed in 789ms 17:52:18 \r\n\r\n\r\n[17:52:18] ERROR Nuxt Build Error: [vite:worker] [plugin vite:build-import-analysis] utils/SomeComponent.vue (2:51): Failed to parse source for import analysis because the content contains invalid JS syntax. Install @vitejs/plugin-vue to handle .vue files.\r\nfile: C:/Users/vtvsn/Documents/.node_projects/nuxt-worker-custom-renderer/utils/Worker.ts?worker:2:51\r\n\r\n1: \u003Ctemplate>\r\n2: \u003Ccustom-renderer-element>\u003C/custom-renderer-element>\r\n ^\r\n3: \u003C/template>\r\n4: \u003Cscript setup lang=\"ts\">\r\n\r\n\r\n file: C:/Users/vtvsn/Documents/.node_projects/nuxt-worker-custom-renderer/utils/Worker.ts?worker:2:51\r\n\r\n 1: \u003Ctemplate>\r\n 2: \u003Ccustom-renderer-element>\u003C/custom-renderer-element>\r\n ^\r\n 3: \u003C/template>\r\n 4: \u003Cscript setup lang=\"ts\">\r\n\r\n at getRollupError (/C:/Users/vtvsn/Documents/.node_projects/nuxt-worker-custom-renderer/node_modules/.pnpm/rollup@4.21.3/node_modules/rollup/dist/es/shared/parseAst.js:392:41)\r\n at error (/C:/Users/vtvsn/Documents/.node_projects/nuxt-worker-custom-renderer/node_modules/.pnpm/rollup@4.21.3/node_modules/rollup/dist/es/shared/parseAst.js:388:42)\r\n at Object.error (/C:/Users/vtvsn/Documents/.node_projects/nuxt-worker-custom-renderer/node_modules/.pnpm/rollup@4.21.3/node_modules/rollup/dist/es/shared/node-entry.js:19734:20)\r\n at Object.error (/C:/Users/vtvsn/Documents/.node_projects/nuxt-worker-custom-renderer/node_modules/.pnpm/rollup@4.21.3/node_modules/rollup/dist/es/shared/node-entry.js:18854:42)\r\n at Object.transform (/C:/Users/vtvsn/Documents/.node_projects/nuxt-worker-custom-renderer/node_modules/.pnpm/vite@5.4.5/node_modules/vite/dist/node/chunks/dep-CUvs3bbV.js:64586:14)\r\n```",[2030],{"name":2031,"color":2032},"pending triage","E99695",29006,"closed","Importing .vue file in WebWorker causes error in nuxi generate","2024-09-16T03:02:53Z","https://github.com/nuxt/nuxt/issues/29006",0.68840843,{"description":2040,"labels":2041,"number":2044,"owner":1991,"repository":2045,"state":2034,"title":2046,"updated_at":2047,"url":2048,"score":2049},"Repro :\n\n- Chose E-commerce\n- Chose Asia\n- Chose North America",[2042],{"name":2005,"color":2043},"ff281a",1166,"nuxt.com","[Agencies] Facets filters not filtering correctly","2023-02-15T12:31:13Z","https://github.com/nuxt/nuxt.com/issues/1166",0.7025024,{"description":2051,"labels":2052,"number":2056,"owner":1991,"repository":2057,"state":2034,"title":2058,"updated_at":2059,"url":2060,"score":2061},"### 🐛 The bug\n\nOn **google-tag-manager** page the content isn't rendered but is present in (main) code.\n\n- https://scripts.nuxt.com/scripts/tracking/google-tag-manager\n- https://github.com/nuxt/scripts/blob/main/docs/content/scripts/tracking/google-tag-manager.md\n\n### 🛠️ To reproduce\n\nhttps://scripts.nuxt.com/scripts/tracking/google-tag-manager\n\n### 🌈 Expected behavior\n\nDisplay text content.\n\n### ℹ️ Additional context\n\n_No response_",[2053],{"name":2054,"color":2055},"documentation","0075ca",430,"scripts","Website: Callout component not displaying content","2025-03-13T05:07:49Z","https://github.com/nuxt/scripts/issues/430",0.7100851,{"description":2063,"labels":2064,"number":2073,"owner":1991,"repository":1991,"state":2034,"title":2074,"updated_at":2075,"url":2076,"score":2077},"### Environment\n\n------------------------------\r\n- Operating System: `Windows_NT`\r\n- Node Version: `v19.7.0`\r\n- Nuxt Version: `3.3.3`\r\n- Nitro Version: `2.3.2`\r\n- Package Manager: `npm@9.6.0`\r\n- Builder: `vite`\r\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-7tssgl?file=package.json\r\n\r\nI created close enought example as my app looking. So you need to `build & preview` it to see the error.\n\n### Describe the bug\n\nI'm trying to use webworkers according to vite documntation https://vitejs.dev/guide/features.html#import-with-query-suffixes\r\n\r\nAnd it looked smoothly, before `3.3.3`. Right now the whole app not working with `npm run build` - `npm run preview`.\r\nBut it works normally with `dev`.\r\n\r\nI mean it builds without error and start normally, no errors eather. But at any page of the app looks like chunk imports broken or something like that.\r\n\r\nFor example I/m importing `myWorker` at `/profile` - page of the app. But never the less at `/home` page still be broken app\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2065,2068,2069,2070],{"name":2066,"color":2067},"3.x","29bc7f",{"name":2031,"color":2032},{"name":2008,"color":2009},{"name":2071,"color":2072},"upstream","E8A36D",20191,"Import Web Workers with query suffixes break app in production","2023-04-20T14:41:07Z","https://github.com/nuxt/nuxt/issues/20191",0.7229236,{"description":2079,"labels":2080,"number":2083,"owner":1991,"repository":1991,"state":2034,"title":2084,"updated_at":2085,"url":2086,"score":2087},"### Environment\n\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v20.9.0\r\n- Nuxt Version: 3.8.2\r\n- CLI Version: 3.10.0\r\n- Nitro Version: 2.8.0\r\n- Package Manager: pnpm@8.3.1\r\n- Builder: -\r\n- User Config: alias, app, components, devtools, experimental, modules, nitro, runtimeConfig, session, sourcemap, typescript, vite, vue\r\n- Runtime Modules: @unocss/nuxt@0.57.7, @vueuse/nuxt@10.6.1\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-6zhzee?file=services%2Fdemo%2Fworker.ts,pages%2Findex.vue\n\n### Describe the bug\n\nIn the webworker file, the referenced Auto-imports function will not be packaged, and will appear \"Uncaught (in promise) ReferenceError: log is not defined\r\n at globalThis.onmessage (worker-6dbb1795.js:1:255)\r\n\"\n\n### Additional context\n\nstep:\r\n1. pnpm build\r\n2. node .output/...\r\n3. see browser devtools console\n\n### Logs\n\n_No response_",[2081,2082],{"name":2066,"color":2067},{"name":2031,"color":2032},24443,"Auto-imports in webworker bundle not work","2023-12-10T20:47:40Z","https://github.com/nuxt/nuxt/issues/24443",0.7246499,{"description":2089,"labels":2090,"number":2096,"owner":1991,"repository":1992,"state":2034,"title":2097,"updated_at":2098,"url":2099,"score":2100},"### Environment\n\n- Operating System: Linux\n- Node Version: v20.17.0\n- Nuxt Version: ^3.13.0\n- CLI Version: 3.14.0\n- Package Manager: bun\n- Nuxt Ui: ^3.0.0-alpha.6\n\n\n### Version\n\n3.0.0-alpha.6\n\n### Reproduction\n\n1. Clone https://github.com/malte-baumann/z-index\n2. bun dev (or similar)\n3. Open modal / slideover / drawer\n4. Click on Select / DropdownMenu / InputMenu\n5. See what you don't see\n\n### Description\n\nI opend #2404 recently and noticed some more z-index problems. \nAt least these Components: \n- Select\n- DropdownMenu\n- InputMenu \ndon't have high enough z-indexes inside a Drawer / Modal / Slideover to show their popover contents. \n\n\n\n### Additional context\n\n\n\n\n### Logs\n\n_No response_",[2091,2092,2095],{"name":2005,"color":2006},{"name":2093,"color":2094},"duplicate","cfd3d7",{"name":1988,"color":1989},2421,"Z-Indexes inside Modal / Slideover / Drawer","2024-10-21T10:15:59Z","https://github.com/nuxt/ui/issues/2421",0.72739214,{"description":2102,"labels":2103,"number":2107,"owner":1991,"repository":2108,"state":2034,"title":2109,"updated_at":2110,"url":2111,"score":2112},"When the page has the `useHead` inside the component it won't inject it:\r\n\r\nPage:\r\n```\r\n\u003Ctemplate>\r\n \u003Cdiv>Index page\u003C/div>\r\n\u003C/template>\r\n\r\n\u003Cscript setup>\r\nuseHead({\r\n title: 'test'\r\n})\r\n\r\ndefinePageMeta({\r\n value: 'set in index',\r\n})\r\n\u003C/script>\r\n```\r\n\r\nTest:\r\n```\r\nimport { describe, it, expect } from 'vitest'\r\n\r\nimport { mountSuspended} from 'vitest-environment-nuxt/utils'\r\nimport Page from '~/pages/index.vue'\r\n\r\ndescribe('test pages', () => {\r\n it('can mount the page', async () => {\r\n const component = await mountSuspended(Page)\r\n expect(component.html()).toMatchInlineSnapshot(`\"\u003Cdiv>Index page\u003C/div>\"`)\r\n })\r\n})\r\n```\r\n\r\nThe test is passed but with the warnings:\r\n\r\n```\r\n[Vue warn]: injection \"usehead\" not found. \r\n at \u003CIndex> \r\n at \u003CAnonymous ref=\"VTU_COMPONENT\" > \r\n at \u003CVTUROOT>\r\n[Vue warn]: injection \"usehead\" not found. \r\n at \u003CIndex> \r\n at \u003CAnonymous ref=\"VTU_COMPONENT\" > \r\n at \u003CVTUROOT>\r\n\r\n```\r\n\r\nAs I know that nuxt changed the import for `useHead` from `#head` to `#import`, and maybe that is the case that it is not imported properly.\r\n\r\nI also tried to use `import {mount} from \"@vue/test-utils\";` but it returned the same error.\r\n\r\nAny thoughts?",[2104],{"name":2105,"color":2106},"vitest-environment","b60205",570,"test-utils","[Vue warn]: injection \"usehead\" not found. ","2023-12-02T00:22:09Z","https://github.com/nuxt/test-utils/issues/570",0.7339743,["Reactive",2114],{},["Set"],["ShallowReactive",2117],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"KnMymdSUGjQRlgY-s5XLB_EXi9OefsoQAtP76V6-nbA":-1},"/nuxt/test-utils/795"]