",[],1885,"nuxt","nuxt.com","open","[Nuxt Website]: \u003Cno response> Failed to fetch","2025-05-03T08:24:49Z","https://github.com/nuxt/nuxt.com/issues/1885",0.72529405,{"description":2865,"labels":2876,"number":2877,"owner":2868,"repository":2868,"state":2870,"title":2871,"updated_at":2878,"url":2879,"score":2874},[],31986,"2025-05-03T06:58:04Z","https://github.com/nuxt/nuxt/issues/31986",{"description":2881,"labels":2882,"number":2886,"owner":2868,"repository":2887,"state":2870,"title":2888,"updated_at":2889,"url":2890,"score":2891},"### 🆒 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_",[2883],{"name":2884,"color":2885},"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":2893,"labels":2894,"number":2898,"owner":2868,"repository":2899,"state":2900,"title":2901,"updated_at":2902,"url":2903,"score":2904},"### 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_",[2895],{"name":2896,"color":2897},"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.46200058,{"description":2906,"labels":2907,"number":2911,"owner":2868,"repository":2869,"state":2900,"title":2912,"updated_at":2913,"url":2914,"score":2915},"",[2908],{"name":2909,"color":2910},"marketing","f5c828",648,"[Community] Fill `Partners` page description","2022-11-17T11:47:55Z","https://github.com/nuxt/nuxt.com/issues/648",0.62446576,{"description":2906,"labels":2917,"number":2919,"owner":2868,"repository":2869,"state":2900,"title":2920,"updated_at":2921,"url":2922,"score":2923},[2918],{"name":2909,"color":2910},651,"[Modules] Fill page description","2022-11-17T11:45:34Z","https://github.com/nuxt/nuxt.com/issues/651",0.65213686,{"description":2906,"labels":2925,"number":2927,"owner":2868,"repository":2869,"state":2900,"title":2928,"updated_at":2929,"url":2930,"score":2931},[2926],{"name":2909,"color":2910},649,"[Resources] Fill `Showcases` page description","2022-11-17T11:47:56Z","https://github.com/nuxt/nuxt.com/issues/649",0.6556074,{"description":2933,"labels":2934,"number":2927,"owner":2868,"repository":2899,"state":2900,"title":2936,"updated_at":2937,"url":2938,"score":2931},"- [ ] 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 ```",[2935],{"name":2884,"color":2885},"browser testing assertions","2024-03-06T14:09:09Z","https://github.com/nuxt/test-utils/issues/649",{"description":2906,"labels":2940,"number":2942,"owner":2868,"repository":2869,"state":2900,"title":2943,"updated_at":2944,"url":2945,"score":2946},[2941],{"name":2909,"color":2910},722,"[Community] Fill links on `Partner` page","2022-11-17T11:45:50Z","https://github.com/nuxt/nuxt.com/issues/722",0.6609119,{"description":2948,"labels":2949,"number":2942,"owner":2868,"repository":2899,"state":2900,"title":2951,"updated_at":2952,"url":2953,"score":2946},"### 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_",[2950],{"name":2896,"color":2897},"`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",["Reactive",2955],{},["Set"],["ShallowReactive",2958],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fu5eCm6Fa9X2gVte1v6J1abjQvW-qePpZcTQaMPjVWWo":-1},"/nuxt/nuxt.com/647"]