\r\n```\r\n\r\n\r\nthe browser console throws following warning:\r\n\r\n```\r\nExtraneous non-emits event listeners (pointerenter, focus) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the \"emits\" option. \r\n```\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2020,2023,2026],{"name":2021,"color":2022},"bug","d73a4a",{"name":2024,"color":2025},"pages","00DFB5",{"name":2027,"color":2028},"🔨 p3-minor","FBCA04",28732,"NuxtLink with custom directive is throwing console warning","2024-08-28T11:32:00Z","https://github.com/nuxt/nuxt/issues/28732",0.6592926,{"description":2035,"labels":2036,"number":2039,"owner":1985,"repository":1985,"state":2002,"title":2040,"updated_at":2041,"url":2042,"score":2043},"### Environment\n\nNuxi 3.2.2 \r\n------------------------------\r\n- Operating System: `Windows_NT`\r\n- Node Version: `v18.14.1`\r\n- Nuxt Version: `3.2.2`\r\n- Nitro Version: `2.2.3`\r\n- Package Manager: `npm@9.3.1`\r\n- Builder: `vite`\r\n- User Config: `components`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n------------------------------\n\n### Reproduction\n\nReproduce Link: https://stackblitz.com/edit/github-tznxrd\r\n\r\n1. npx nuxi init demo\r\n2. cd demo\r\n3. npm install\r\n4. mkdir -p components/layouts\r\n5. edit nuxt.config.ts\r\n **nuxt.config.ts**\r\n ```\r\n export default defineNuxtConfig({\r\n components: [\r\n { path: '~/components/layouts', prefix: 'Special' },\r\n '~/components'\r\n ]\r\n })\r\n ```\r\n\r\n\r\n6. create **header.vue** under components/layouts\r\n ```\r\n \u003Ctemplate>\r\n \u003Cdiv>\r\n Header\r\n \u003C/div>\r\n \u003C/template>\r\n ```\r\n\r\n7. import header.vue in **app.vue**\r\n ```\r\n \u003Ctemplate>\r\n \u003Cdiv>\r\n \u003CHeader />\r\n \u003CNuxtWelcome />\r\n \u003C/div>\r\n \u003C/template>\r\n \r\n \u003Cscript>\r\n import Header from '~/components/layouts/header.vue';\r\n \u003C/script>\r\n ```\r\n\r\n\r\n8. npm run dev\r\n\n\n### Describe the bug\n\n[Vue warn]: Failed to resolve component: Header\r\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement. \n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2037,2038],{"name":1996,"color":1997},{"name":1999,"color":2000},19310,"If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.","2023-02-27T12:15:17Z","https://github.com/nuxt/nuxt/issues/19310",0.6605259,{"labels":2045,"number":2050,"owner":1985,"repository":1985,"state":2002,"title":2051,"updated_at":2052,"url":2053,"score":2054},[2046,2047],{"name":1999,"color":2000},{"name":2048,"color":2049},"2.x","d4c5f9",9445,"[Vue warn]: Failed to resolve async component: function","2023-01-22T15:44:58Z","https://github.com/nuxt/nuxt/issues/9445",0.66117555,{"labels":2056,"number":2065,"owner":1985,"repository":1985,"state":2002,"title":2066,"updated_at":2067,"url":2068,"score":2069},[2057,2058,2059,2062],{"name":1996,"color":1997},{"name":2021,"color":2022},{"name":2060,"color":2061},"components","05B979",{"name":2063,"color":2064},"❗ p4-important","D93F0B",13538,"Autoimport components dir","2023-10-06T09:49:35Z","https://github.com/nuxt/nuxt/issues/13538",0.662138,{"description":2071,"labels":2072,"number":2075,"owner":1985,"repository":1985,"state":2002,"title":2076,"updated_at":2077,"url":2078,"score":2079},"### Environment\n\n- Operating System: `Darwin`\r\n- Node Version: `v18.12.1`\r\n- Nuxt Version: `3.4.0`\r\n- Nitro Version: `2.3.3`\r\n- Package Manager: `npm@8.19.3`\r\n- Builder: `vite`\r\n- User Config: `app`, `runtimeConfig`, `css`, `modules`, `components`, `vite`, `vue`, `experimental`\r\n- Runtime Modules: `@nuxtjs/color-mode@3.2.0`, `@pinia/nuxt@0.4.8`\r\n- Build Modules: `-`\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-ruqb96?file=nuxt.config.ts\n\n### Describe the bug\n\nEnabling the Vue runtime compiler support in the `nuxt.config.ts`:\r\n\r\n```typescript\r\n experimental: {\r\n runtimeVueCompiler: true,\r\n externalVue: false,\r\n },\r\n```\r\n\r\nAlso adding `vue.compilerOptions.isCustomElement` config in the `nuxt.config.ts`:\r\n\r\n```typescript\r\n vue: {\r\n compilerOptions: {\r\n isCustomElement: (tag) =>\r\n isMathmlTag(tag) || tag.startsWith('bx-') || tag === 'custom-element',\r\n },\r\n },\r\n```\r\n\r\nWe have issues with the Vue runtime compiler support:\r\n\r\n- Failed to resolve component: custom-element\r\n- Failed to resolve component: math\r\n- Non-function value encountered for default slot. Prefer function slots for better performance\r\n- Component \u003CAnonymous> is missing template or render function.\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n[Vue warn]: Failed to resolve component: custom-element 6:28:56 AM\r\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.\r\n[Vue warn]: Failed to resolve component: math 6:28:56 AM\r\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.\r\n[Vue warn]: Failed to resolve component: semantics 6:28:56 AM\r\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.\r\n[Vue warn]: Failed to resolve component: mrow 6:28:56 AM\r\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.\r\n[Vue warn]: Failed to resolve component: mi 6:28:56 AM\r\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.\r\n[Vue warn]: Failed to resolve component: annotation 6:28:56 AM\r\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.\r\n[Vue warn]: Non-function value encountered for default slot. Prefer function slots for better performance. 6:28:56 AM\r\n[Vue warn]: Component \u003CAnonymous> is missing template or render function. 6:28:56 AM\r\n[Vue warn]: Non-function value encountered for default slot. Prefer function slots for better performance. 6:28:56 AM\r\n[Vue warn]: Component \u003CAnonymous> is missing template or render function. 6:28:56 AM\r\n```\n```\n",[2073,2074],{"name":1996,"color":1997},{"name":1999,"color":2000},20228,"Issues with the Vue runtime compiler support","2023-04-12T13:58:48Z","https://github.com/nuxt/nuxt/issues/20228",0.6633308,{"description":2081,"labels":2082,"number":2085,"owner":1985,"repository":1985,"state":2002,"title":2086,"updated_at":2087,"url":2088,"score":2089},"Not sure if this belongs here. Feels like it doesn't belong in the Nuxt repo either, because it's module specific. Let me know if I need to move it.\r\n\r\nSo my situation is the following. I'm further improving my [Nuxt-vuetify module](https://github.com/invictus-codes/nuxt-vuetify). Users of the module, will provide a Vuetify config through the Nuxt.config.ts. Now Vuetify has the following feature when it comes to icons, [fa-svg](https://vuetifyjs.com/en/features/icon-fonts/#font-awesome-svg-icons). To use this feature, you need to provide a function as iconSet (component). This is how it works, I cannot change this. However, this is not the cause of my \"issue\".\r\n\r\nWhat I can't seem to get working is the following, tested it on the nuxt-module-starter:\r\n\r\nIn my Nuxt.config.ts:\r\n```typescript\r\nexport default defineNuxtConfig({\r\n modules: [\"../src/module\"],\r\n myModule: {\r\n testViaConfig() {\r\n console.log(\"test\");\r\n return \"test\";\r\n },\r\n },\r\n});\r\n```\r\n\r\nin my module.ts:\r\n```typescript\r\nimport { defineNuxtModule, addPlugin, createResolver } from \"@nuxt/kit\";\r\n\r\n// Module options TypeScript interface definition\r\nexport interface ModuleOptions {}\r\n\r\nexport default defineNuxtModule\u003CModuleOptions>({\r\n meta: {\r\n name: \"my-module\",\r\n configKey: \"myModule\",\r\n },\r\n // Default configuration options of the Nuxt module\r\n defaults: {},\r\n setup(options, nuxt) {\r\n const resolver = createResolver(import.meta.url);\r\n\r\n nuxt.options.runtimeConfig.public.myModule = {\r\n ...options,\r\n test: \"runtimeConfig, check\",\r\n testViaModule: () => {\r\n console.log(\"test\");\r\n return \"test\";\r\n },\r\n };\r\n // Do not add the extension since the `.ts` will be transpiled to `.mjs` after `npm run prepack`\r\n addPlugin(resolver.resolve(\"./runtime/plugin\"));\r\n },\r\n});\r\n```\r\n\r\nIn my runtime/plugin.ts:\r\n```typescript\r\nimport { defineNuxtPlugin, useRuntimeConfig } from \"#app\";\r\n\r\nexport default defineNuxtPlugin((nuxtApp) => {\r\n const config = useRuntimeConfig();\r\n const options = config.public.myModule;\r\n console.log({ options });\r\n console.log(\"Plugin injected by my-module!\");\r\n});\r\n```\r\n\r\nI would expect that in the browser both the `testViaConfig` and `testViaModule` functions would be logged. Except only the string (defined in module.ts, also passed via runtimeConfig), is logged in the browser.\r\n\r\nI have made a codesandbox to reproduce. You can find it [here](https://codesandbox.io/p/github/jvhellemondt/nuxt-module-starter/draft/trusting-galileo?file=%2Fsrc%2Fmodule.ts&workspaceId=26bac05a-e35e-485b-bb0f-53f697bee73f).\r\n\r\nIs it intended that I cannot pass functions to runtime like this? I have the feeling that it's not possible due to rollup, however I'm definitely not an expert on that. If so, is there another way around? It seems vital that users of the module can provide it via the Nuxt.config.ts from a user experience perspective.\r\n\r\nHope someone is able to help out. If I need to explain further, please let me know.\r\n\r\nThank you in advance.\r\n\r\nBest regards,\r\n\r\nJ",[2083,2084],{"name":1996,"color":1997},{"name":1999,"color":2000},20933,"Question/ bug: How to provide functions from within Nuxt.config.ts or module.ts to runtime?","2024-04-17T06:42:23Z","https://github.com/nuxt/nuxt/issues/20933",0.6684269,{"labels":2091,"number":2094,"owner":1985,"repository":1985,"state":2002,"title":2095,"updated_at":2096,"url":2097,"score":2098},[2092,2093],{"name":1996,"color":1997},{"name":1999,"color":2000},14949,"Failed to resolve component in pages ","2023-01-19T17:42:57Z","https://github.com/nuxt/nuxt/issues/14949",0.668988,["Reactive",2100],{},["Set"],["ShallowReactive",2103],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"ETYuCYxbXLcWLFq51LOZXTg4TVaesemo9c2eBYc6KN4":-1},"/nuxt/nuxt/28060"]