\u003C/div>\r\n\u003C/template>\r\n```\r\n\r\nAdded to the Nuxt app via `addComponent` in a Nuxt module definition:\r\n\r\n```ts\r\naddComponent({\r\n name: 'JsComponent',\r\n export: 'JsComponent',\r\n filePath: resolve('./JsComponent.js'),\r\n})\r\n\r\naddComponent({\r\n name: 'VueComponent',\r\n filePath: resolve('./VueComponent.vue'),\r\n})\r\n```\r\n\r\nIf prefixed with Lazy:\r\n\r\n```vue\r\n\u003Ctemplate>\r\n \u003CLazyVueComponent>Hello\u003C/LazyVueComponent>\r\n \u003CLazyJsComponent>Hello\u003C/LazyJsComponent>\r\n\u003C/template>\r\n```\r\n\r\nThe .vue one works as expected, the .js one throws the following SSR error: `src.replace is not a function`.\r\n\r\nAfter dealing with this a bit, I found out that if the js component has no child, it doesn't throw any error:\r\n\r\n```vue\r\n\u003CLazyJsComponent>\u003C/LazyJsComponent>\r\n```\r\n\r\nBut even a single char or a comment will break things again. \r\n\r\n\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n[Vue warn]: Invalid vnode type when creating vnode: undefined.\r\n[nuxt] [request error] [unhandled] [500] src.replace is not a function\r\n```\n```\n",[2941,2944,2947,2950,2953],{"name":2942,"color":2943},"good first issue","fbca04",{"name":2945,"color":2946},"3.x","29bc7f",{"name":2948,"color":2949},"workaround available","11376d",{"name":2951,"color":2952},"bug","d73a4a",{"name":2954,"color":2955},"🔨 p3-minor","FBCA04",23768,"Module-added component throws 'src.replace is not a function' if prefixed with Lazy and is not a vue file","2024-01-31T09:08:04Z","https://github.com/nuxt/nuxt/issues/23768",0.74160653,{"description":2918,"labels":2962,"number":2967,"owner":2910,"repository":2910,"state":2921,"title":2968,"updated_at":2969,"url":2970,"score":2971},[2963,2964],{"name":2945,"color":2946},{"name":2965,"color":2966},"experiment","8CD9CD",11729,"experiment provide/inject with @vue/apollo","2023-01-19T15:43:22Z","https://github.com/nuxt/nuxt/issues/11729",0.743156,{"description":2973,"labels":2974,"number":2983,"owner":2910,"repository":2984,"state":2921,"title":2985,"updated_at":2986,"url":2987,"score":2988},"### Description\n\nHey guys, can we implement a responsive model with Nuxt UI. \n\nSimilar to the: Maybe fix the repeated content of the Dialog and Drawer. \nhttps://www.shadcn-vue.com/docs/components/drawer.html\n\n### Additional context\n\n_No response_",[2975,2977,2980],{"name":2904,"color":2976},"a2eeef",{"name":2978,"color":2979},"v3","49DCB8",{"name":2981,"color":2982},"triage","ffffff",3772,"ui","Nuxt UI - Responsive Model/Drawer","2025-04-02T09:22:08Z","https://github.com/nuxt/ui/issues/3772",0.74511707,{"labels":2990,"number":2994,"owner":2910,"repository":2910,"state":2921,"title":2995,"updated_at":2996,"url":2997,"score":2998},[2991],{"name":2992,"color":2993},"2.x","d4c5f9",6334,"Cannot read property 'destroy' of null","2023-01-18T21:49:10Z","https://github.com/nuxt/nuxt/issues/6334",0.7461369,{"description":3000,"labels":3001,"number":3003,"owner":2910,"repository":2910,"state":2921,"title":3004,"updated_at":3005,"url":3006,"score":3007},"How to add logic on root vue instance so I can handle page refresh?\r\n\r\nHow do I do this in nuxt SPA mode?\r\n```\r\nnew Vue({\r\n el: '#app',\r\n mounted() {\r\n // Get User Object from API\r\n },\r\n created() {\r\n // do something\r\n }\r\n \r\n})\r\n```\r\n\r\n\n\n\u003C!--cmty-->\u003C!--cmty_prevent_hook-->\n\u003Cdiv align=\"right\">\u003Csub>\u003Cem>This question is available on \u003Ca href=\"https://nuxtjs.cmty.io\">Nuxt.js\u003C/a> community (\u003Ca href=\"https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1808\">#c1808\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[3002],{"name":2992,"color":2993},2039,"How to add logic on root vue instance mounted or created method so I can handle page refresh?","2023-01-18T15:43:02Z","https://github.com/nuxt/nuxt/issues/2039",0.7470267,{"labels":3009,"number":3011,"owner":2910,"repository":2910,"state":2921,"title":2995,"updated_at":3012,"url":3013,"score":3014},[3010],{"name":2992,"color":2993},6214,"2023-01-18T20:44:02Z","https://github.com/nuxt/nuxt/issues/6214",0.75345415,["Reactive",3016],{},["Set"],["ShallowReactive",3019],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fX6Eh3nc_HC74ZvfUjtDKCuxjcuX6y5CKJ3CyXxceSrU":-1},"/nuxt/scripts/74"]