\n\n\n\n\n\n### Describe the bug\n\nVue is loaded but there are references in the bundled code that is expecting some sort of relative url, but the browser can't find it.\n\n\n\u003Cimg width=\"1638\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/f294dd4b-ffc5-46b6-8e62-0700fc0fbf4c\" />\n\n\n\n### Additional context\n\nMy goal is to have a nuxt app with 100% of its dependencies externalized. This app is served by a embedded device (ESP32), and I must make the static assets use the smallest amount of storage as possible. \n\nCould you create the most simple nuxt app where `vue` and `vue-router` are configured as external, please. Thank you.\n\n### Logs\n\n```shell-script\n\n```",[2887,2890],{"name":2888,"color":2889},"pending triage","E99695",{"name":2891,"color":2892},"needs reproduction","FBCA04",30438,"closed","Making vue and vue-router external break the app","2025-01-05T00:08:01Z","https://github.com/nuxt/nuxt/issues/30438",0.6809498,{"labels":2900,"number":2906,"owner":2877,"repository":2877,"state":2894,"title":2907,"updated_at":2908,"url":2909,"score":2910},[2901,2904,2905],{"name":2902,"color":2903},"3.x","29bc7f",{"name":2888,"color":2889},{"name":2891,"color":2892},14157,"vue-router doesn't work when in dev mode","2023-01-19T17:26:33Z","https://github.com/nuxt/nuxt/issues/14157",0.6827264,{"description":2912,"labels":2913,"number":2917,"owner":2877,"repository":2878,"state":2894,"title":2918,"updated_at":2919,"url":2920,"score":2921},"### Description\n\nHi !\nFirst of all great work. I love this Kit.\nBut I was wondering if this Nuxt UI Kit (pro version) can be used just in Vue ? Without having the while framework ?\nI possibly need to build an app with AdonisJS with intertia in front, without haveing front router etc. \nI would just have the Vue templating, and hopefully built thanks to this kit \n:)",[2914],{"name":2915,"color":2916},"question","d876e3",4062,"Can Nuxt UI Pro be used just with Vue, Without Nuxt ?","2025-05-04T17:27:57Z","https://github.com/nuxt/ui/issues/4062",0.6879552,{"labels":2923,"number":2930,"owner":2877,"repository":2877,"state":2894,"title":2931,"updated_at":2932,"url":2933,"score":2934},[2924,2926,2927],{"name":2925,"color":2875},"stale",{"name":2888,"color":2889},{"name":2928,"color":2929},"2.x","d4c5f9",9997,"Module not found: Error: Can't resolve 'vue-router' after install and build","2023-06-28T12:13:16Z","https://github.com/nuxt/nuxt/issues/9997",0.69124377,{"description":2936,"labels":2937,"number":2943,"owner":2877,"repository":2878,"state":2894,"title":2944,"updated_at":2945,"url":2946,"score":2947},"### Environment\n\n- Operating System: `Windows`\n- Node Version: `v20`\n- Vue Version: `3.5.13`\n- Package Manager: `npm`\n- Builder: `vite`\n\n### Is this bug related to Nuxt or Vue?\n\nVue\n\n### Version\n\nv3.1.1\n\n### Reproduction\n\nno need\n\n### Description\n\n\nI'm trying to use Nuxt UI in a **pure Vue 3 + Vite** project (not Nuxt 3).\n\nHowever, Nuxt UI automatically registers unplugin-auto-import and unplugin-vue-components, which leads to a conflict when I try to add those plugins manually in the vite.config.ts without including the Vue-specific auto-imports.\n\n### Logs\nerror when starting dev server:\nError: [Nuxt UI] Multiple instances of `unplugin-auto-import` detected. Nuxt UI includes `unplugin-auto-import` already, and you can configure it using `autoImport` option in Nuxt UI module options.\n at configResolved (file:///D:/Wep/Resources/Vue/vue-project/node_modules/@nuxt/ui/dist/unplugin.mjs:231:19)\n at file:///D:/Wep/Resources/Vue/vue-project/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:66672:67\n at Array.map (\u003Canonymous>)\n at resolveConfig (file:///D:/Wep/Resources/Vue/vue-project/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:66672:53)\n at async _createServer (file:///D:/Wep/Resources/Vue/vue-project/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:62999:18)\n at async CAC.\u003Canonymous> (file:///D:/Wep/Resources/Vue/vue-project/node_modules/vite/dist/node/cli.js:736:20)",[2938,2941,2942],{"name":2939,"color":2940},"bug","d73a4a",{"name":2871,"color":2872},{"name":2874,"color":2875},4113,"Using Nuxt UI in a Vue 3 project causes auto-import conflict and breaks Vite config","2025-05-09T16:06:40Z","https://github.com/nuxt/ui/issues/4113",0.6916565,{"description":2949,"labels":2950,"number":2954,"owner":2877,"repository":2877,"state":2894,"title":2955,"updated_at":2956,"url":2957,"score":2958},"### Environment\n\n- Nuxi 3.0.0-rc.13 \r\n- Operating System: `Linux`\r\n- Node Version: `v16.16.0`\r\n- Nuxt Version: `3.0.0-rc.13`\r\n- Nitro Version: `0.6.1`\r\n- Package Manager: `npm@8.11.0`\r\n- Builder: `vite`\r\n- User Config: `runtimeConfig`, `app`, `components`, `css`, `build`, `modules`, `apollo`, `postcss`, `vite`, `render`\r\n- Runtime Modules: `@nuxtjs/tailwindcss@6.1.3`, `@nuxtjs/apollo@5.0.0-alpha.3`\r\n- Build Modules: `-`\n\n### Reproduction\n\n- \n\n### Describe the bug\n\nI created an app with nuxt 3 rc-13 based on a project running nuxt 3 rc-11. I copied the complete folder structure except .nuxt, node_modules, package.json and package-lock.json. I installed the modules @nuxtjs/tailwindcss@6.1.3 and @nuxtjs/apollo@5.0.0-alpha.3. \r\n\r\nAfter starting the app with `npm run dev` I got an error that the module `@vue/apollo-composable` is missing. This was because I forgot to remove the associated import statements in several vue files. After I removed the imports and set `apollo: { autoImports: true, ... }` in my nuxt.config nuxt still complains `[plugin:vite:import-analysis] Failed to resolve import \"@vue/apollo-composable\" from \"pages/[...pages].vue\". Does the file exist?` \r\n\r\nIt seems like vite or npm or some other unknown magic had cached my files and now still complains about imports in files that don't exist anymore... I double checked my files and removed all import statements related to `@vue/apollo-composable`. So what's happening there? \n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\nERROR 13:14:48 [vite] Internal server error: Failed to resolve import \"@vue/apollo-composable\" from \"pages/[...pages].vue\". Does the file exist?\r\n Plugin: vite:import-analysis\r\n File: /home/aw/dev/ext/pages/[...pages].vue:5:27\r\n 3 | import { Head as __nuxt_component_2 } from \"/home/aw/dev/ext/node_modules/nuxt/dist/head/runtime/components\";\r\n 4 | import { useRoute, createError } from '#app';\r\n 5 | import { useQuery } from '@vue/apollo-composable';\r\n | ^\r\n 6 | import { useGetNodeByPath } from '~/composables/useMobileNav';\r\n 7 | import { useGetMeta } from '~/composables/useGetMeta';\r\n at formatError (file:///home/aw/dev/ext/node_modules/vite/dist/node/chunks/dep-51c4f80a.js:39971:46)\r\n at TransformContext.error (file:///home/aw/dev/ext/node_modules/vite/dist/node/chunks/dep-51c4f80a.js:39967:19)\r\n at normalizeUrl (file:///home/aw/dev/ext/node_modules/vite/dist/node/chunks/dep-51c4f80a.js:36835:33)\r\n at async TransformContext.transform (file:///home/aw/dev/ext/node_modules/vite/dist/node/chunks/dep-51c4f80a.js:36968:47)\r\n at async Object.transform (file:///home/aw/dev/ext/node_modules/vite/dist/node/chunks/dep-51c4f80a.js:40224:30)\r\n at async loadAndTransform (file:///home/aw/dev/ext/node_modules/vite/dist/node/chunks/dep-51c4f80a.js:36611:29)\r\n\r\n[Vue Router warn]: uncaught error during route navigation:\r\nError: [vite-node] Failed to load @vue/apollo-composable\r\n at ViteNodeRunner.directRequest (file:///home/aw/dev/ext/node_modules/vite-node/dist/client.mjs:181:13)\r\n at runMicrotasks (\u003Canonymous>)\r\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\r\n at async ViteNodeRunner.cachedRequest (file:///home/aw/dev/ext/node_modules/vite-node/dist/client.mjs:129:12)\r\n at async request (file:///home/aw/dev/ext/node_modules/vite-node/dist/client.mjs:152:16)\r\n at async /home/aw/dev/ext/pages/[...pages].vue:9:31\r\n at async ViteNodeRunner.directRequest (file:///home/aw/dev/ext/node_modules/vite-node/dist/client.mjs:250:5)\r\n at async ViteNodeRunner.cachedRequest (file:///home/aw/dev/ext/node_modules/vite-node/dist/client.mjs:129:12)\r\n at async request (file:///home/aw/dev/ext/node_modules/vite-node/dist/client.mjs:152:16)\r\n at async /home/aw/dev/ext/node_modules/nuxt/dist/pages/runtime/router.mjs:75:94\r\n[Vue Router warn]: uncaught error during route navigation:\r\nError: [vite-node] Failed to load @vue/apollo-composable\r\n at ViteNodeRunner.directRequest (file:///home/aw/dev/ext/node_modules/vite-node/dist/client.mjs:181:13)\r\n at runMicrotasks (\u003Canonymous>)\r\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\r\n at async ViteNodeRunner.cachedRequest (file:///home/aw/dev/ext/node_modules/vite-node/dist/client.mjs:129:12)\r\n at async request (file:///home/aw/dev/ext/node_modules/vite-node/dist/client.mjs:152:16)\r\n at async /home/aw/dev/ext/pages/[...pages].vue:9:31\r\n at async ViteNodeRunner.directRequest (file:///home/aw/dev/ext/node_modules/vite-node/dist/client.mjs:250:5)\r\n at async ViteNodeRunner.cachedRequest (file:///home/aw/dev/ext/node_modules/vite-node/dist/client.mjs:129:12)\r\n at async request (file:///home/aw/dev/ext/node_modules/vite-node/dist/client.mjs:152:16)\r\n at async /home/aw/dev/ext/node_modules/nuxt/dist/pages/runtime/router.mjs:75:94\n```\n",[2951,2952,2953],{"name":2902,"color":2903},{"name":2888,"color":2889},{"name":2891,"color":2892},15392,"Nuxt rc13 - Failed to resolve import","2023-01-19T17:49:29Z","https://github.com/nuxt/nuxt/issues/15392",0.69548357,{"description":2960,"labels":2961,"number":2964,"owner":2877,"repository":2877,"state":2894,"title":2965,"updated_at":2966,"url":2967,"score":2968},"### Environment\r\n\r\n------------------------------\r\n- Operating System: `Linux`\r\n- Node Version: `v16.14.2`\r\n- Nuxt Version: `3.0.0-rc.13`\r\n- Nitro Version: `0.6.1`\r\n- Package Manager: `npm@7.17.0`\r\n- Builder: `vite`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n------------------------------\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/github-a4huuj\r\n\r\n`npm run generate && npm run preview`\r\n\r\n### Describe the bug\r\n\r\nrelates to nuxt/nuxt.js#15434\r\n\r\nIf I explicitly add `vue-router \u003C 4.1.6` to package.json (or project has a dependency that relies on that version of vue-router) and use `\u003CNuxtLayout>` in app.vue, production build will not be rendered.\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n```shell\r\nentry.3c02fba1.js:1 TypeError: Cannot read properties of undefined (reading 'meta')\r\n at as.fn (entry.3c02fba1.js:9:710)\r\n at as.run (entry.3c02fba1.js:1:4004)\r\n at get value [as value] (entry.3c02fba1.js:1:12008)\r\n at Proxy.\u003Canonymous> (entry.3c02fba1.js:9:770)\r\n at gr (entry.3c02fba1.js:1:15423)\r\n at de (entry.3c02fba1.js:1:48281)\r\n at as.P [as fn] (entry.3c02fba1.js:1:48369)\r\n at as.run (entry.3c02fba1.js:1:4004)\r\n at f.update (entry.3c02fba1.js:1:48673)\r\n at ee (entry.3c02fba1.js:1:48699)\r\n```\r\n",[2962,2963],{"name":2902,"color":2903},{"name":2888,"color":2889},15443,"[RC13] Error on production build when using layouts and vue-router \u003C 4.1.6","2023-01-19T17:50:31Z","https://github.com/nuxt/nuxt/issues/15443",0.6966947,{"labels":2970,"number":2978,"owner":2877,"repository":2877,"state":2894,"title":2979,"updated_at":2980,"url":2981,"score":2982},[2971,2973,2974,2975],{"name":2868,"color":2972},"8DEF37",{"name":2902,"color":2903},{"name":2928,"color":2929},{"name":2976,"color":2977},"⛔️ can be closed","484893",6707,"Nuxt UI","2023-02-07T01:34:11Z","https://github.com/nuxt/nuxt/issues/6707",0.7045592,{"description":2984,"labels":2985,"number":2991,"owner":2877,"repository":2877,"state":2894,"title":2992,"updated_at":2993,"url":2994,"score":2995},"### Environment\n\n- Operating System: Linux\r\n- Node Version: v18.20.3\r\n- Nuxt Version: 3.11.2\r\n- CLI Version: 3.11.1\r\n- Nitro Version: 2.9.6\r\n- Package Manager: bun@1.0.26\r\n- Builder: -\r\n- User Config: devtools, ssr, modules, components, imports, app, colorMode, googleFonts, i18n, runtimeConfig\r\n- Runtime Modules: @nuxtjs/tailwindcss@6.12.0, @nuxtjs/google-fonts@3.2.0, @nuxtjs/i18n@8.3.1, radix-vue/nuxt, nuxt-icon@0.6.10, @pinia/nuxt@0.5.1, @pinia-plugin-persistedstate/nuxt@1.2.0, @nuxtjs/color-mode@3.4.1, nuxt-lodash@2.5.3, @vueuse/nuxt@10.10.0\r\n- Build Modules: \n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-g5rvb6\n\n### Describe the bug\n\nAdding a preset to `nuxt.config.ts` from `@vueuse/router` somehow removes all the auto imports from `@vueuse/nuxt`\r\n\r\n```ts\r\npresets: [\r\n {\r\n from: '@vueuse/router',\r\n imports: ['useRouteHash', 'useRouteParams', 'useRouteQuery'],\r\n },\r\n ],\r\n```\r\n\r\nI get `500 useTextDirection is not defined` or the same error message for any of vueUse composables\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2986,2987,2988],{"name":2902,"color":2903},{"name":2888,"color":2889},{"name":2989,"color":2990},"upstream","E8A36D",27456,"Nuxt SPA breaks when adding a preset for @vueuse/router","2024-06-05T21:02:10Z","https://github.com/nuxt/nuxt/issues/27456",0.70495206,["Reactive",2997],{},["Set"],["ShallowReactive",3000],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fPvnIA5IXprN6D-teykkUOQtufNaoUq9iUWHr98X8s7E":-1},"/nuxt/ui/4038"]