\r\n```\r\n\r\n\r\n## Code\r\n\r\n```\r\n\u003Ctemplate>\r\n \u003CIcon />\r\n\u003C/tempalte>\r\n\r\n\u003Cscript setup lang=\"ts\">\r\nconst props = defineProps\u003C{name: string}>()\r\n\r\nconst Icon = computed(() => defineAsyncComponent(() => import(`../icons/${props.name}.svg?component`)));\r\n\u003C/script>\r\n```\r\n\r\n\r\n\r\n",[2908,2911,2914],{"name":2909,"color":2910},"workaround available","11376d",{"name":2912,"color":2913},"❗ p4-important","D93F0B",{"name":2915,"color":2916},"performance","E84B77",18376,"Disable `prefetch` for dynamic imports","2025-03-16T23:31:44Z","https://github.com/nuxt/nuxt/issues/18376",0.7626332,{"description":2923,"labels":2924,"number":2925,"owner":2866,"repository":2867,"state":2926,"title":2927,"updated_at":2928,"url":2929,"score":2930},"There seems to be a bug that makes no sense to me. The client side `init()` in `loadIcon(name, timeout)` goes through successfully and populates the block level `dataStorage[\"\"]` with icons. \n\nNow comes the weird part: in the next line, there is a call `getIcon(name)` and as soon as I step into that function, `dataStorage` becomes \n```\n{ \n \"\": {\n prefix1: {\n icons: {} \n ...\n }\n}\n```\n\nWhen next icon gets processed, it is the same story, `_initialized` is `true`, `dataStorage[\"\"]` looks good and has all icons, but as soon as `getIcon(name)` is executed, `dataStorage` changes to \n\n```\n{\n \"\": {\n prefix1: ..., \n prefix2: ...\n }\n}\n```\n\nIt looks like there are two `dataStorage`s, one in scope of `loadIcon` and another one in scope of `getIcon`, but I have no clue how could it be prefilled with partial data...",[],267,"closed","Client bundle always falls back to Iconify API","2024-10-04T21:37:09Z","https://github.com/nuxt/icon/issues/267",0.72889304,{"labels":2932,"number":2937,"owner":2866,"repository":2866,"state":2926,"title":2938,"updated_at":2939,"url":2940,"score":2941},[2933,2934],{"name":2877,"color":2878},{"name":2935,"color":2936},"2.x","d4c5f9",8306,"建议将_NUXT_放入到localStorage中","2023-01-22T15:52:44Z","https://github.com/nuxt/nuxt/issues/8306",0.73380864,{"description":2943,"labels":2944,"number":2949,"owner":2866,"repository":2866,"state":2926,"title":2950,"updated_at":2951,"url":2952,"score":2953},"becasuse nuxt cannot use localStorage to save user token, so i used \"nuxtServerInit\" API ,started local server and simulation localstorage through \"req.session\",.yes, it succeed. however, this req.session only save the current server, when people connect to other servers, this record has disappeared. so i want to know that how to achieve the purpose of stateless login\r\n\r\nlocal server\r\n\r\n\r\nnuxtServerInit\r\n\r\n\r\n\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/c1933\">#c1933\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2945,2948],{"name":2946,"color":2947},"question","cc317c",{"name":2935,"color":2936},2192,"how can i achieve the purpose of stateless login","2023-01-18T15:43:11Z","https://github.com/nuxt/nuxt/issues/2192",0.7394081,{"description":2955,"labels":2956,"number":2958,"owner":2866,"repository":2866,"state":2926,"title":2959,"updated_at":2960,"url":2961,"score":2962},"I have a survey with 5 different questions, the state of the questions is stored in a vuex store. These questions are used on different pages in the application. When I refresh the page the state is lost and gives an error.\r\n\r\nI have been looking at vuex-persistedstate, but it doesn't work together with nuxt as described in the issue below:\r\nhttps://github.com/robinvdvleuten/vuex-persistedstate/issues/16\r\n\r\nMy idea is to implement a local storage but unfortunately I did not succeed so far. I found this issue talking about local storage: https://github.com/nuxt/nuxt.js/issues/185 and it says we shouldn't use it. \r\n\r\nAre there any suggestions of keeping the vuex state on refresh without creating a session on server (no login). \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/c499\">#c499\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2957],{"name":2935,"color":2936},576,"Best impelentation localStorage","2023-01-18T15:39:31Z","https://github.com/nuxt/nuxt/issues/576",0.7422827,{"description":2964,"labels":2965,"number":2967,"owner":2866,"repository":2866,"state":2926,"title":2968,"updated_at":2969,"url":2970,"score":2971},"## Version\r\n\r\nv2.0.0\r\n\r\n## Github link\r\n\r\nhttps://github.com/StriveNuby/nuxt-admin\r\n\r\n## Purpose\r\n\r\nSwitching between each other can achieve data caching\r\n\r\n## Why is there no effect when using keep-alive?\r\n\r\n\r\n\r\n\r\n\r\n### Screenshot in the project, Not implemented\r\n\r\n\r\n\r\n\r\nOr does nuxtJs not support keep-alive? Is there any good idea?\r\n\n\n\u003C!--cmty-->\u003C!--cmty_prevent_hook-->\n\u003Cdiv align=\"right\">\u003Csub>\u003Cem>This question is available on \u003Ca href=\"https://cmty.app/nuxt\">Nuxt\u003C/a> community (\u003Ca href=\"https://cmty.app/nuxt/nuxt.js/issues/c7923\">#c7923\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2966],{"name":2935,"color":2936},4063,"Try to use keep-alive, can't make the desired effect, can you help?","2023-01-18T20:03:53Z","https://github.com/nuxt/nuxt/issues/4063",0.7427282,{"description":2973,"labels":2974,"number":2976,"owner":2866,"repository":2866,"state":2926,"title":2977,"updated_at":2978,"url":2979,"score":2980},"I am running some localStorage operations in store. Is there a way to dispatch this action similar to nuxtServerInit but on client-side instead? \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/c1668\">#c1668\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2975],{"name":2935,"color":2936},1857,"client-side alternative to nuxtServerInit","2023-01-18T15:42:45Z","https://github.com/nuxt/nuxt/issues/1857",0.74317074,["Reactive",2982],{},["Set"],["ShallowReactive",2985],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f2FHP5BXTmtKZTp_B9c6oQmspyNe9FEfqIKqtyBfBkZE":-1},"/nuxt/icon/88"]