\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",[2939,2942,2943,2946,2949],{"name":2940,"color":2941},"good first issue","fbca04",{"name":2900,"color":2901},{"name":2944,"color":2945},"workaround available","11376d",{"name":2947,"color":2948},"bug","d73a4a",{"name":2950,"color":2951},"🔨 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.7017501,{"description":2958,"labels":2959,"number":2961,"owner":2866,"repository":2866,"state":2880,"title":2962,"updated_at":2963,"url":2964,"score":2965},"Greetings I'm receiving unkown custom-element error in the console. \r\nI have the vuetify package installed using a plugin.\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/c1189\">#c1189\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2960],{"name":2877,"color":2878},1344,"RC4 : Receiving unkown custom-element did you forget to register... using the vuetify package.","2023-01-18T15:41:42Z","https://github.com/nuxt/nuxt/issues/1344",0.70261836,{"description":2967,"labels":2968,"number":2970,"owner":2866,"repository":2866,"state":2880,"title":2971,"updated_at":2972,"url":2973,"score":2974},"I am trying to create a [ProseMirror](http://prosemirror.net) editor with Nuxt.js on which my users can insert certain components into their inline text.\r\n\r\nI should be able to render a new component node in NodeView using [Vue.extend()](https://vuejs.org/v2/api/#Vue-extend). The problem is, [my component](https://github.com/v2land/v2land-frontend/blob/feature/comment-editor/components/Comment/ItemEvent.vue) needs to communicate with this.$store, and a newly-initialized Vue instance does not have it. Therefore, rendering the component with a new Vue instance would cause an error that suggests something like `this.$store does not exist`.\r\n\r\nIs there anyway that I could access the Vue instance created by Nuxt.js and thereby call Vue.extend() to pass the Vuex instance to my component?\r\n\r\nEditor.vue: https://github.com/v2land/v2land-frontend/blob/feature/comment-editor/components/Comment/Editor.vue\r\nEvent NodeView: https://github.com/v2land/v2land-frontend/blob/feature/comment-editor/components/Comment/View/Event.js\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/c2668\">#c2668\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2969],{"name":2877,"color":2878},3082,"How to use Vue.extend to inject Vue instance into a component in Nuxt?","2023-01-18T16:09:57Z","https://github.com/nuxt/nuxt/issues/3082",0.7043444,{"labels":2976,"number":2979,"owner":2866,"repository":2866,"state":2880,"title":2980,"updated_at":2981,"url":2982,"score":2983},[2977,2978],{"name":2889,"color":2914},{"name":2877,"color":2878},7989,"Serve Web Components made with VueJS using Nuxt ","2023-01-22T15:52:36Z","https://github.com/nuxt/nuxt/issues/7989",0.7068189,["Reactive",2985],{},["Set"],["ShallowReactive",2988],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f64y_Og_9yN3RponZiS9EIhz_rrfXrLAoGtKbkAaTmig":-1},"/nuxt/nuxt.com/716"]