\u003C/Suspense>',\r\n})\r\n\r\nconst wrapper = render(TestComponent, {\r\n global: {},\r\n})\r\ndescribe(`[${TestComponent.__name}]`, () => {\r\n test('正常系', () => {\r\n expect(true).toBe(true)\r\n })\r\n})\r\n```",[2014,2017],{"name":2015,"color":2016},"vitest-environment","b60205",{"name":2018,"color":2019},"needs reproduction","DE7793",562,"test-utils","closed","TypeError: Invalid URL","2023-12-02T22:52:43Z","https://github.com/nuxt/test-utils/issues/562",0.45452285,{"description":2028,"labels":2029,"number":2033,"owner":1994,"repository":2034,"state":2022,"title":2035,"updated_at":2036,"url":2037,"score":2038},"",[2030],{"name":2031,"color":2032},"enhancement","1ad6ff",359,"nuxt.com","Fetch components from project url `/api/component-meta`","2022-04-19T13:51:35Z","https://github.com/nuxt/nuxt.com/issues/359",0.6528711,{"description":2040,"labels":2041,"number":2033,"owner":1994,"repository":2021,"state":2022,"title":2042,"updated_at":2043,"url":2044,"score":2038},"Update e2e section to use `@nuxt/test-utils`\r\n\r\nhttps://nuxtjs.org/guide/development-tools#end-to-end-testing",[],"update e2e section in nuxtjs.org","2023-12-02T00:13:09Z","https://github.com/nuxt/test-utils/issues/359",{"description":2046,"labels":2047,"number":2048,"owner":1994,"repository":2034,"state":2022,"title":2049,"updated_at":2050,"url":2051,"score":2052},"Fetch project components from API\n\nBlocked by #167 ",[],165,"Pass components as props in `DocusEditor`","2022-04-21T12:50:26Z","https://github.com/nuxt/nuxt.com/issues/165",0.7268496,{"description":2054,"labels":2055,"number":2048,"owner":1994,"repository":2056,"state":2022,"title":2057,"updated_at":2058,"url":2059,"score":2052},"Script can be found [here](https://help.ads.microsoft.com/#apex/ads/en/56686/2-500)\r\n\r\nI attempted to implement it myself like below, but I am running into problems with UET not being available from the script that is being set, since it is part of the script being loaded.\r\n```ts\r\nconst { uetq, $script } = useRegistryScript('bing', () => ({\r\n scriptInput: {\r\n src: 'https://bat.bing.com/bat.js',\r\n async: true,\r\n crossorigin: false,\r\n },\r\n scriptOptions: {\r\n use() {\r\n return { uetq: window.uetq }\r\n },\r\n },\r\n clientInit: import.meta.server\r\n ? undefined\r\n : () => {\r\n window.uetq = window.uetq || []\r\n\r\n const options = { ti: 'YOUR_KEY_HERE', enableAutoSpaTracking: true }\r\n // @ts-expect-error untyped\r\n options.queue = window.uetq\r\n // @ts-expect-error untyped\r\n window.uetq = new UET(options)\r\n\r\n window.uetq.push('consent', 'default', { ad_storage: 'denied' })\r\n },\r\n}))\r\n```\r\n\r\nThe original script creates a brand new script element with `https://bat.bing.com/bat.js` as the source and then sets the window.uetq from there, but I am unsure how to recreate that in a registry script.",[],"scripts","Add Microsoft UET to registry","2024-09-03T16:09:41Z","https://github.com/nuxt/scripts/issues/165",{"description":2061,"labels":2062,"number":2070,"owner":1994,"repository":1994,"state":2022,"title":2071,"updated_at":2072,"url":2073,"score":2074},"### Versions\r\n\r\n- v2.14.6\r\n\r\n### Reproduction\r\n\r\nhttps://codesandbox.io/s/crazy-browser-fw1wo?file=/components/ArchiveFetcher.vue\r\n\r\n### Steps to reproduce\r\n\r\n``` \r\ndata() {\r\n return {\r\n fetchedPosts: [],\r\n };\r\n },\r\n components: {\r\n //CountriesList,\r\n CountriesList: () => import(\"~/components/CountriesList\"),\r\n },\r\n async fetch() {\r\n if (process.server) {\r\n let url = \"https://jsonplaceholder.typicode.com/posts\";\r\n console.warn(url, \"Archive fetching\");\r\n try {\r\n this.fetchedPosts = await this.$axios.$get(url);\r\n } catch (err) {\r\n return this.$nuxt.error({ statusCode: 404, message: err.message });\r\n }\r\n console.log(this.fetchedPosts); - return array of posts\r\n }\r\n },\r\n mounted() {\r\n console.warn(this.fetchedPosts); - return [];\r\n }, \r\n```\r\n\r\nAsync import component and try to use it with server-side data.\r\n\r\n### What is Expected?\r\nExpected the same behavior as default components import, without remounting\\refetching on the client.\r\n\r\n### What is actually happening?\r\nWhen we use such construction (async components import) - the component is filling with data on the server-side, but then it looks like remounting on the client without any data and trying to fetch it again.\r\nWhen I import a component in the default way, it works as expected, without losing data on the client.\r\n\r\nI hope I describe the issue clearly enough, but let me know if you need any additional info.",[2063,2066,2067],{"name":2064,"color":2065},"stale","ffffff",{"name":2004,"color":2005},{"name":2068,"color":2069},"2.x","d4c5f9",8513,"Component remounting and refetching data on client side in case of usage async components import","2023-01-22T15:38:24Z","https://github.com/nuxt/nuxt/issues/8513",0.7269223,{"description":2076,"labels":2077,"number":2079,"owner":1994,"repository":1994,"state":2022,"title":2080,"updated_at":2081,"url":2082,"score":2083},"I'm trying to get data from firebase and I'm getting this error: \r\nNo 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.\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/c1528\">#c1528\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2078],{"name":2068,"color":2069},1704,"How can I add CORS to nuxt?","2023-01-18T15:54:38Z","https://github.com/nuxt/nuxt/issues/1704",0.7298406,{"description":2028,"labels":2085,"number":2088,"owner":1994,"repository":2034,"state":2022,"title":2089,"updated_at":2090,"url":2091,"score":2092},[2086],{"name":1985,"color":2087},"ff281a",112,"Fix redirect after project import","2023-02-15T12:31:45Z","https://github.com/nuxt/nuxt.com/issues/112",0.7436039,["Reactive",2094],{},["Set"],["ShallowReactive",2097],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"EKcBIw6WvDIHKm49E_3FOcmxI5T4nOlbC2-BwQ8oymE":-1},"/nuxt/nuxt.com/562"]