\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",[3213,3216,3217,3220,3223],{"name":3214,"color":3215},"good first issue","fbca04",{"name":3174,"color":3175},{"name":3218,"color":3219},"workaround available","11376d",{"name":3221,"color":3222},"bug","d73a4a",{"name":3224,"color":3225},"🔨 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.70175016,{"description":3232,"labels":3233,"number":3235,"owner":3140,"repository":3140,"state":3154,"title":3236,"updated_at":3237,"url":3238,"score":3239},"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>",[3234],{"name":3151,"color":3152},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":3241,"labels":3242,"number":3244,"owner":3140,"repository":3140,"state":3154,"title":3245,"updated_at":3246,"url":3247,"score":3248},"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>",[3243],{"name":3151,"color":3152},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":3250,"number":3253,"owner":3140,"repository":3140,"state":3154,"title":3254,"updated_at":3255,"url":3256,"score":3257},[3251,3252],{"name":3163,"color":3188},{"name":3151,"color":3152},7989,"Serve Web Components made with VueJS using Nuxt ","2023-01-22T15:52:36Z","https://github.com/nuxt/nuxt/issues/7989",0.7068189,["Reactive",3259],{},["Set"],["ShallowReactive",3262],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f64y_Og_9yN3RponZiS9EIhz_rrfXrLAoGtKbkAaTmig":-1},"/nuxt/nuxt.com/716"]