\r\n\u003C/template>\r\n```\r\n\r\nThis components prints undefined in the console if its clientonly (it works if wrapped in ClientOnly but not if the file is .client.vue)\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[3169,3170],{"name":3155,"color":3156},{"name":3171,"color":3172},"pending triage","E99695",24398,"Template Refs are undefined in onMounted hook in *.client.vue components","2023-11-22T00:04:50Z","https://github.com/nuxt/nuxt/issues/24398",0.68631184,{"labels":3179,"number":3181,"owner":3144,"repository":3144,"state":3161,"title":3182,"updated_at":3183,"url":3184,"score":3185},[3180],{"name":3155,"color":3156},14314,"Template interpolation works correctly in dev, but fails with undefined property when in production build","2023-01-19T17:33:21Z","https://github.com/nuxt/nuxt/issues/14314",0.6899564,{"description":3187,"labels":3188,"number":3193,"owner":3144,"repository":3144,"state":3161,"title":3194,"updated_at":3195,"url":3196,"score":3197},"### Environment\n\n```\r\n------------------------------\r\n- Operating System: Linux\r\n- Node Version: v16.17.0\r\n- Nuxt Version: 3.4.3\r\n- Nitro Version: 2.3.3\r\n- Package Manager: pnpm@7.1.0\r\n- Builder: vite\r\n- User Config: -\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n------------------------------\r\n```\n\n### Reproduction\n\nhttps://codesandbox.io/p/sandbox/nuxt-page-kills-template-content-zbiggk\n\n### Describe the bug\n\n`template`-content can not be read the second time anymore upon switching pages.\r\n\r\nThe element is still referenced by $ref but `.innerHTML` is nothing.\r\n\r\nIn another test project, the template element can not be found at all the second time.\r\nReproduced here.\n\n### Additional context\n\nHappens with VSCode locally on my machine too. \r\n\r\nThe direct link to the test component: [/components/preContainer.vue](https://codesandbox.io/p/sandbox/nuxt-page-kills-template-content-zbiggk?file=%2Fcomponents%2FpreContainer.vue)\n\n### Logs\n\n_No response_",[3189,3190],{"name":3155,"color":3156},{"name":3191,"color":3192},"upstream","E8A36D",20611,"`\u003Ctemplate>` Element vanishes(?) from DOM, when NuxtLink-switching `pages/*`","2024-01-03T09:54:36Z","https://github.com/nuxt/nuxt/issues/20611",0.69057256,{"description":3199,"labels":3200,"number":3209,"owner":3144,"repository":3144,"state":3161,"title":3210,"updated_at":3211,"url":3212,"score":3213},"### Environment\r\n\r\n```\r\n❯ npx nuxi info\r\nNuxi 3.0.0\r\n\r\nRootDir: /home/projects/github-dpyktf-owfxvw\r\nNuxt project info: \r\n\r\n------------------------------\r\n- Operating System: `Linux`\r\n- Node Version: `v16.14.2`\r\n- Nuxt Version: `3.0.0`\r\n- Nitro Version: `1.0.0`\r\n- Package Manager: `npm@7.17.0`\r\n- Builder: `vite`\r\n- User Config: `-`\r\n- Runtime Modules: `-`\r\n- Build Modules: `-`\r\n------------------------------\r\n```\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/github-dpyktf-owfxvw?file=app.vue\r\n\r\n### Describe the bug\r\n\r\n[Template refs](https://vuejs.org/guide/essentials/template-refs.html) are not available on [client-side only components](https://nuxt.com/docs/guide/directory-structure/components#client-components) defined in `.client` files.\r\n\r\nIt works as expected on components not having `.client` in their file name. It makes no difference if SSR is enabled or not. As long as a components file name ends with `.client` the ref is not set as expected on `onMounted`.\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n\r\nConsole logs from the linked StackBlitz example:\r\n\r\n```\r\n{component: 'FocusInput', ref: input}\r\n{component: 'FocusInputBroken', ref: null}\r\n```\r\n",[3201,3204,3205,3208],{"name":3202,"color":3203},"documentation","5319e7",{"name":3155,"color":3156},{"name":3206,"color":3207},"bug","d73a4a",{"name":3158,"color":3159},15551,"Template refs in .client components not available at `onMounted()`","2023-01-19T17:54:02Z","https://github.com/nuxt/nuxt/issues/15551",0.69404924,{"labels":3215,"number":3221,"owner":3144,"repository":3144,"state":3161,"title":3222,"updated_at":3223,"url":3224,"score":3225},[3216,3217,3218],{"name":3155,"color":3156},{"name":3206,"color":3207},{"name":3219,"color":3220},"🔨 p3-minor","FBCA04",14242,"ref is not defined when import.meta.glob is used when template has an html class","2023-01-19T17:30:08Z","https://github.com/nuxt/nuxt/issues/14242",0.6947347,{"labels":3227,"number":3230,"owner":3144,"repository":3144,"state":3161,"title":3231,"updated_at":3232,"url":3233,"score":3234},[3228,3229],{"name":3155,"color":3156},{"name":3171,"color":3172},14465,"Template refs can only be addressed correctly during initial loading","2023-01-19T17:35:46Z","https://github.com/nuxt/nuxt/issues/14465",0.70070845,{"labels":3236,"number":3237,"owner":3144,"repository":3144,"state":3161,"title":3238,"updated_at":3239,"url":3240,"score":3241},[],14409,"_unref not defined on build","2023-01-19T17:35:08Z","https://github.com/nuxt/nuxt/issues/14409",0.7012735,{"labels":3243,"number":3248,"owner":3144,"repository":3144,"state":3161,"title":3249,"updated_at":3250,"url":3251,"score":3252},[3244,3245],{"name":3155,"color":3156},{"name":3246,"color":3247},"upstream-bug","B60205",13621,"Template Refs inside v-for not working with Composition API","2023-01-19T17:02:46Z","https://github.com/nuxt/nuxt/issues/13621",0.7018138,["Reactive",3254],{},["Set"],["ShallowReactive",3257],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fESY1CE18bv_lIMuGRJGVV21TuvohWV4xU-WjLJZdl2I":-1},"/nuxt/nuxt/26239"]