",[],31986,"nuxt","open","[Nuxt Website]: \u003Cno response> Failed to fetch","2025-05-03T06:58:04Z","https://github.com/nuxt/nuxt/issues/31986",0.72529405,{"description":3153,"labels":3154,"number":3158,"owner":3146,"repository":3159,"state":3147,"title":3160,"updated_at":3161,"url":3162,"score":3163},"### 🆒 Your use case\n\nFor server-side tagging a custom src needs to be set for Google Tag Manager.\n\nCurrently this src is hard coded in: https://github.com/nuxt/scripts/blob/f96f7b51549f302160559041bbf056589e899b04/src/runtime/registry/google-tag-manager.ts#L47\n\nWhenever we want to change the src manually the ID is no longer appended, make it so we have to define the ID twice.\n\n```\ngoogleTagManager: {\n\tid: 'GTM-123456',\n\tscriptInput: {\n\t\tsrc: 'https://gtm.example.com/gtm.js?id=GTM-123456',\n\t},\n},\n```\n\n### 🆕 The solution you'd like\n\n\nA simple solution to the problem could be to add an option for the src.\n\n`src: withQuery(options?.src || 'https://www.googletagmanager.com/gtm.js', { id: options?.id, l: options?.l }),`\n\nWhich makes it so we can easily change it like so:\n\n```\ngoogleTagManager: {\n\tid: 'GTM-123456',\n\tsrc: 'https://gtm.example.com/gtm.js'\n},\n```\n\n### 🔍 Alternatives you've considered\n\n_No response_\n\n### ℹ️ Additional info\n\n_No response_",[3155],{"name":3156,"color":3157},"enhancement","a2eeef",404,"scripts","Allow changing the Google Tag Manager script src","2025-03-19T16:20:34Z","https://github.com/nuxt/scripts/issues/404",0.7284013,{"description":3165,"labels":3166,"number":3170,"owner":3146,"repository":3171,"state":3172,"title":3173,"updated_at":3174,"url":3175,"score":3176},"### Environment\n\nWorking directory: /home/projects/nuxt-vitest-pvfdx1 4:14:31 PM\r\nNuxt project info: 4:14:31 PM\r\n\r\n------------------------------\r\n- Operating System: Linux\r\n- Node Version: v18.18.0\r\n- Nuxt Version: 3.8.2\r\n- CLI Version: 3.10.0\r\n- Nitro Version: 2.8.1\r\n- Package Manager: pnpm@8.10.5\r\n- Builder: -\r\n- User Config: modules, devtools, runtimeConfig\r\n- Runtime Modules: @nuxt/test-utils/module@3.9.0-alpha.1\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\nSee repo:\r\nhttps://stackblitz.com/edit/nuxt-vitest-x6ycht?file=vitest.config.mjs\r\n\r\n\r\n\r\n\n\n### Describe the bug\n\nIf there is a `setupFiles` configured (even it's empty), tests are failing \r\nIf there is no `setupFiles` defined (comment out setupFiles line), tests are successful\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3167],{"name":3168,"color":3169},"pending triage","5D08F5",647,"test-utils","closed","Using setupFiles breaks tests","2023-12-16T13:39:45Z","https://github.com/nuxt/test-utils/issues/647",0.46200055,{"description":3178,"labels":3179,"number":3183,"owner":3146,"repository":3184,"state":3172,"title":3185,"updated_at":3186,"url":3187,"score":3188},"",[3180],{"name":3181,"color":3182},"marketing","f5c828",648,"nuxt.com","[Community] Fill `Partners` page description","2022-11-17T11:47:55Z","https://github.com/nuxt/nuxt.com/issues/648",0.6244657,{"description":3178,"labels":3190,"number":3192,"owner":3146,"repository":3184,"state":3172,"title":3193,"updated_at":3194,"url":3195,"score":3196},[3191],{"name":3181,"color":3182},651,"[Modules] Fill page description","2022-11-17T11:45:34Z","https://github.com/nuxt/nuxt.com/issues/651",0.65213686,{"description":3178,"labels":3198,"number":3200,"owner":3146,"repository":3184,"state":3172,"title":3201,"updated_at":3202,"url":3203,"score":3204},[3199],{"name":3181,"color":3182},649,"[Resources] Fill `Showcases` page description","2022-11-17T11:47:56Z","https://github.com/nuxt/nuxt.com/issues/649",0.6556074,{"description":3206,"labels":3207,"number":3200,"owner":3146,"repository":3171,"state":3172,"title":3209,"updated_at":3210,"url":3211,"score":3204},"- [ ] waitForHydration\r\n ```ts\r\n await page.waitForFunction(() => window.useNuxtApp?.().isHydrating === false)\r\n ```\r\n- [ ] waitForNavigation\r\n ```ts\r\n await page.waitForFunction(() => window.useNuxtApp?.()._route.fullPath === '/islands')\r\n ```",[3208],{"name":3156,"color":3157},"browser testing assertions","2024-03-06T14:09:09Z","https://github.com/nuxt/test-utils/issues/649",{"description":3178,"labels":3213,"number":3215,"owner":3146,"repository":3184,"state":3172,"title":3216,"updated_at":3217,"url":3218,"score":3219},[3214],{"name":3181,"color":3182},722,"[Community] Fill links on `Partner` page","2022-11-17T11:45:50Z","https://github.com/nuxt/nuxt.com/issues/722",0.6609119,{"description":3221,"labels":3222,"number":3215,"owner":3146,"repository":3171,"state":3172,"title":3224,"updated_at":3225,"url":3226,"score":3219},"### Environment\n\nNuxt project info: \r\n\r\n------------------------------\r\n- Operating System: Linux\r\n- Node Version: v18.18.0\r\n- Nuxt Version: 3.9.3\r\n- CLI Version: 3.10.0\r\n- Nitro Version: 2.8.1\r\n- Package Manager: npm@10.2.3\r\n- Builder: -\r\n- User Config: devtools, modules\r\n- Runtime Modules: @nuxt/test-utils/module@3.10.0\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-7wbhms?file=test%2Ftest-component.spec.ts\n\n### Describe the bug\n\n`renderSuspended` does not pass the values from `setup` function (not the `\u003Cscript setup>`) to the `template`. The `mountSuspended` works fine.\n\n### Additional context\n\nIn the Openverse Nuxt 3 migration PR, I replaced `render(renderContext, ...args)` with `render(_ctx, ...args)` on this line:\r\n\r\nhttps://github.com/nuxt/test-utils/blob/bc86d23b2cf92aa3c3f19d52944452e4e5c27d63/src/runtime-utils/render.ts#L113\r\n\r\nwhich seems to fix the issue.\n\n### Logs\n\n_No response_",[3223],{"name":3168,"color":3169},"`renderSuspended` does not provide the values returned from `setup` to the template","2024-05-20T19:29:35Z","https://github.com/nuxt/test-utils/issues/722",{"description":3178,"labels":3228,"number":3230,"owner":3146,"repository":3184,"state":3172,"title":3231,"updated_at":3232,"url":3233,"score":3234},[3229],{"name":3181,"color":3182},652,"[Company] Fill `About` page content","2022-11-17T11:46:00Z","https://github.com/nuxt/nuxt.com/issues/652",0.678685,["Reactive",3236],{},["Set"],["ShallowReactive",3239],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fu5eCm6Fa9X2gVte1v6J1abjQvW-qePpZcTQaMPjVWWo":-1},"/nuxt/nuxt.com/647"]