\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\ncomponents/content/Container.vue:\r\n```vue\r\n\u003Ctemplate>\r\n \u003Cdiv>\r\n \u003Cslot />\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\nlayouts/full.vue:\r\n```vue\r\n\u003Ctemplate>\r\n \u003Cdiv class=\"custom-layout\">\r\n \u003Cslot />\r\n \u003C/div>\r\n\u003C/template>\r\n```\r\n\r\ncontent/index.md:\r\n```markdown\r\n---\r\nlayout: 'full'\r\n---\r\n\r\n:component-with-icon\r\n\r\n::container\r\nSlot nr 1\r\n::::container\r\nSlot nr 2\r\n::::\r\n::\r\n```\r\n\r\nThis bug prevents the site from being used in development mode due to the infinity loop. The problem does not occur in the latest beta version of nuxt-icon, but in the original project I use nuxt-ui, which uses the old version \r\n",[],157,"icon","Infinite WARN loop with slots and nuxt-content","2024-09-06T11:17:31Z","https://github.com/nuxt/icon/issues/157",0.68673086,{"description":2905,"labels":2906,"number":2910,"owner":2872,"repository":2872,"state":2890,"title":2911,"updated_at":2912,"url":2913,"score":2914},"In non nuxjs apps you put code that has run once on app startup in main.js or app.vue. Both are not available in nuxtjs. Where do I put this code?\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/c718\">#c718\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2907],{"name":2908,"color":2909},"2.x","d4c5f9",837,"Where to put code that runs once on app startup (no main.js)","2023-01-18T15:39:53Z","https://github.com/nuxt/nuxt/issues/837",0.70268327,{"description":2916,"labels":2917,"number":2919,"owner":2872,"repository":2872,"state":2890,"title":2920,"updated_at":2921,"url":2922,"score":2923},"i can not use '~' in my vue file,error log like this:\r\n=====\r\nin ./node_modules/babel-loader/lib?{\"presets\":[\"es2015\",\"stage-0\"],\"plugins\":[\"transform-runtime\"],\"babelrc\":false,\"cacheDirectory\":true}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./pages/index.vue\r\nModule not found: Error: Can't resolve '~components/TopNav.vue' in '/Users/huwenzhi/WebstormProjects/workspace/huwenzhi/pages'\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/c1276\">#c1276\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2918],{"name":2908,"color":2909},1434,"i can not use '~' in my vue file","2023-01-18T15:41:49Z","https://github.com/nuxt/nuxt/issues/1434",0.72321606,{"description":2925,"labels":2926,"number":2936,"owner":2872,"repository":2872,"state":2890,"title":2937,"updated_at":2938,"url":2939,"score":2940},"### Describe the feature\r\n\r\nCan you allow import nuxt component into a basic vue app\r\n\r\n### Additional information\r\n\r\n- [ ] Would you be willing to help implement this feature?\r\n- [ ] Could this feature be implemented as a module?\r\n\r\n### Final checks\r\n\r\n- [X] Read the [contribution guide](https://v3.nuxtjs.org/community/contribution).\r\n- [X] Check existing [discussions](https://github.com/nuxt/framework/discussions) and [issues](https://github.com/nuxt/framework/issues).",[2927,2930,2933],{"name":2928,"color":2929},"discussion","538de2",{"name":2931,"color":2932},"3.x","29bc7f",{"name":2934,"color":2935},"needs details","493824",15584,"Use Nuxt component in vue app","2023-02-06T10:29:55Z","https://github.com/nuxt/nuxt/issues/15584",0.7237142,{"description":2942,"labels":2943,"number":2945,"owner":2872,"repository":2872,"state":2890,"title":2946,"updated_at":2947,"url":2948,"score":2949},"My client sent me an HTML template that heavily relies on jQuery. The app itself runs on nuxt. I have a js file that contains a whole lot of `$(function(){...})`. Now I don't know how to run this file on each page transition.\r\n\r\nSo far, I have tried:\r\n\r\n 1. Creating a `plugin` inside `plugins` dir that looks like:\r\n```\r\n export default async ({ app }) => {\r\n\r\n app.router.afterEach((to, from) => {\r\n require('~/static/js/base-init.js');\r\n })\r\n }\r\n```\r\nhere `base-init.js` has all those jquery code\r\n\r\n 2. Adding `mounted` (inside `default.vue` layout) but that doesn't work either.\r\n\r\nDoes anyone have a clue?\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/c8654\">#c8654\u003C/a>)\u003C/em>\u003C/sub>\u003C/div>",[2944],{"name":2908,"color":2909},5029,"How to run a script every time page is loaded?","2024-07-16T13:15:19Z","https://github.com/nuxt/nuxt/issues/5029",0.72642064,{"description":2951,"labels":2952,"number":2956,"owner":2872,"repository":2889,"state":2890,"title":2957,"updated_at":2958,"url":2959,"score":2960},"### Description\n\nMultiple UCheckbox can share the same v-model by using an array like :\r\n\r\nhttps://vuetifyjs.com/en/components/checkboxes/#colors\r\n\r\n",[2953],{"name":2954,"color":2955},"question","d876e3",1740,"UCheckbox v-model as array","2025-03-31T08:02:40Z","https://github.com/nuxt/ui/issues/1740",0.73028046,{"description":2962,"labels":2963,"number":2966,"owner":2872,"repository":2967,"state":2890,"title":2968,"updated_at":2969,"url":2970,"score":2971},"\n",[2964],{"name":2883,"color":2965},"ff281a",728,"nuxt.com","Newsletter submission fails","2023-02-15T12:32:48Z","https://github.com/nuxt/nuxt.com/issues/728",0.73160213,{"description":2973,"labels":2974,"number":2975,"owner":2872,"repository":2967,"state":2890,"title":2976,"updated_at":2977,"url":2978,"score":2979},"Open https://nuxt.com/docs/guide/directory-structure/composables, **Introduction** page is shown instead of **Composables**\n\n\n\nI think the regression is due to 43b0f43",[],1752,"All docs/[...slug] routes show Introduction page","2025-01-14T11:25:53Z","https://github.com/nuxt/nuxt.com/issues/1752",0.7316777,["Reactive",2981],{},["Set"],["ShallowReactive",2984],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fC03F09IohTmft81TWfHMX3Ebc1ZNSeEIpVQQWALo20M":-1},"/nuxt/ui/3247"]