If useSeoMeta is located in the source project it gets error because it's tring to resolve @unhead/vue in the source project instead of the local one (or am I wrong?).
ERROR Internal server error: Failed to resolve import "@unhead/vue" from "..\..\..\Users\sandr\.cache\c12\github_digitoolmedia_first\app.vue". Does the file exist? 22:36:17
Plugin: vite:import-analysis
File: C:/Users/sandr/.cache/c12/github_digitoolmedia_first/app.vue:5:26
3 | import { default as __nuxt_component_2 } from "C:/GitHub/Sandros94/test-nuxt3app/node_modules/nuxt/dist/pages/runtime/page";
4 | import { default as __nuxt_component_3 } from "C:/GitHub/Sandros94/test-nuxt3app/node_modules/nuxt/dist/app/components/layout";
5 | import { useHead } from '@unhead/vue';
| ^
6 |
7 | useHead({
at formatError (file:///C:/GitHub/Sandros94/test-nuxt3app/node_modules/vite/dist/node/chunks/dep-79892de8.js:43113:46)
at TransformContext.error (file:///C:/GitHub/Sandros94/test-nuxt3app/node_modules/vite/dist/node/chunks/dep-79892de8.js:43109:19)
at normalizeUrl (file:///C:/GitHub/Sandros94/test-nuxt3app/node_modules/vite/dist/node/chunks/dep-79892de8.js:41378:33)
at async TransformContext.transform (file:///C:/GitHub/Sandros94/test-nuxt3app/node_modules/vite/dist/node/chunks/dep-79892de8.js:41512:47)
at async file:///C:/GitHub/Sandros94/test-nuxt3app/node_modules/vite-plugin-inspect/dist/index.mjs:692:23
at async Object.transform (file:///C:/GitHub/Sandros94/test-nuxt3app/node_modules/vite/dist/node/chunks/dep-79892de8.js:43387:30)
at async loadAndTransform (file:///C:/GitHub/Sandros94/test-nuxt3app/node_modules/vite/dist/node/chunks/dep-79892de8.js:41105:29)
https://github.com/digitoolmedia/first/blob/fa107e7576218ea2e0fe978f32bac2c4cd21404f/app.vue#L16-L19
If useSeoMeta is located in the source project it gets error because it's tring to resolve @unhead/vue in the source project instead of the local one (or am I wrong?).