\r\n\u003C/template>\r\n```\r\n\r\nWith the component TheNavbar being in your layer.\r\nIf I add\r\n```\r\n components: {\r\n dirs: [\r\n {\r\n path: '~/components/global',\r\n global: true,\r\n },\r\n '~/components',\r\n ],\r\n },\r\n```\r\n\r\nIn the config of my layer so I can use `\u003Ccomponent :is=\"resolveComponent('TheNavbar')\" />`\r\n\r\n\n\n### Describe the bug\n\nThe overall problem is that I have an UI-Kit layer with a lot of components.\r\nAnd in my pages I must call an external API with fetch to retrieve an array of components.\r\nThen I have to use the dynamic \u003Ccomponent :is /> but when I try to globally register my layer components it does not work at all and even when it's not dynamic those layer components are unkwown.\r\n\r\nSo is it a bug?\r\n\r\nWhat would be the best practice to have dynamic component with name fetched from an external API on a page and with all of them registered in a layer?\r\n\r\nThank you all!\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3059,3060,3061,3064,3067],{"name":3020,"color":3021},{"name":3023,"color":3024},{"name":3062,"color":3063},"needs reproduction","FBCA04",{"name":3065,"color":3066},"layers","006B75",{"name":3068,"color":3069},"closed-by-bot","ededed",22704,"Marking Layer Components Global = Failed To Resolve","2023-09-07T01:47:44Z","https://github.com/nuxt/nuxt/issues/22704",0.67234534,{"labels":3076,"number":3083,"owner":3026,"repository":3026,"state":3027,"title":3084,"updated_at":3085,"url":3086,"score":3087},[3077,3078,3081],{"name":3020,"color":3021},{"name":3079,"color":3080},"bug","d73a4a",{"name":3082,"color":3063},"🔨 p3-minor",14144,"Dynamic Components with resolveComponent results in Vue warning and not rendering the component","2023-01-19T17:25:51Z","https://github.com/nuxt/nuxt/issues/14144",0.67567134,{"labels":3089,"number":3096,"owner":3026,"repository":3026,"state":3027,"title":3097,"updated_at":3098,"url":3099,"score":3100},[3090,3091,3092,3095],{"name":3020,"color":3021},{"name":3079,"color":3080},{"name":3093,"color":3094},"components","05B979",{"name":3082,"color":3063},13464,"Maximum call stack size exceeded for Button component","2023-01-19T16:56:58Z","https://github.com/nuxt/nuxt/issues/13464",0.67967373,{"labels":3102,"number":3106,"owner":3026,"repository":3026,"state":3027,"title":3107,"updated_at":3108,"url":3109,"score":3110},[3103],{"name":3104,"color":3105},"2.x","d4c5f9",9641,"third party library, lazy loading, dev server complains, static build is fine","2023-01-18T15:28:51Z","https://github.com/nuxt/nuxt/issues/9641",0.68115914,{"description":3112,"labels":3113,"number":3116,"owner":3026,"repository":3026,"state":3027,"title":3117,"updated_at":3118,"url":3119,"score":3120},"### Environment\n\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v18.17.0\r\n- Nuxt Version: 3.6.5\r\n- Nitro Version: 2.5.2\r\n- Package Manager: npm@9.6.7\r\n- Builder: vite\r\n- User Config: app, vite, build, modules, css, runtimeConfig, plugins, googleFonts, devtools\r\n- Runtime Modules: @pinia/nuxt@0.4.11, @pinia-plugin-persistedstate/nuxt@1.1.1, @nuxtjs/google-fonts@3.0.2, nuxt-icon@0.5.0\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\n[Reproduction](https://stackblitz.com/edit/github-egvwuo-q53rtw?file=README.md)\n\n### Describe the bug\n\nUsing a component in the template while also importing its type in the Composition API leads to an error.\n\n### Additional context\n\nIn reproduction you can delete comment tags in **bug.vue** page to see error. I don't encounter this error when i don't call the component within the template. You can see it on the **weird.vue** page or in the **bug.vue** page with a comment.\r\n\r\nI don't encounter this issue in a project where I'm using version ^3.6.2.\n\n### Logs\n\n```shell-script\nInternal server error: Failed to resolve import \".nuxt/components\" from \"pages\\course\\index.vue\". Does the file exist? 05:38:47 \r\n Plugin: vite:import-analysis\r\n File: *path*/pages/course/index.vue:8:32\r\n 2 | import { ref } from 'vue';\r\n 3 | import { defineComponent as _defineComponent } from \"vue\";\r\n 4 | import { ModalsClassroom } from \".nuxt/components\";\r\n | ^\r\n 5 | const _sfc_main = /* @__PURE__ */ _defineComponent({\r\n 6 | __name: \"index\",\n```\n",[3114,3115],{"name":3020,"color":3021},{"name":3023,"color":3024},22979,"Nuxt3.6.5 - Failed to resolve import \".nuxt/components\" | Using a component in the template while also importing its type in the Composition API leads to an error.","2023-09-04T10:36:49Z","https://github.com/nuxt/nuxt/issues/22979",0.6826599,{"labels":3122,"number":3125,"owner":3026,"repository":3026,"state":3027,"title":3126,"updated_at":3127,"url":3128,"score":3129},[3123,3124],{"name":3020,"color":3021},{"name":3023,"color":3024},13506,"\u003Ccomponent> seems to be broken.","2023-01-19T16:58:02Z","https://github.com/nuxt/nuxt/issues/13506",0.6844039,{"labels":3131,"number":3134,"owner":3026,"repository":3026,"state":3027,"title":3135,"updated_at":3136,"url":3137,"score":3138},[3132,3133],{"name":3020,"color":3021},{"name":3079,"color":3080},12715,"Unable to use defineNuxtComponent","2023-01-19T16:45:13Z","https://github.com/nuxt/nuxt/issues/12715",0.6856898,["Reactive",3140],{},["Set"],["ShallowReactive",3143],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fanfTgEs1OdUdng4jrKhpdAMI2_BLaRCFtJVFRNXRio8":-1},"/nuxt/ui/4571"]