\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":3179,"labels":3180,"number":3184,"owner":3146,"repository":3146,"state":3164,"title":3185,"updated_at":3186,"url":3187,"score":3188},"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>",[3181],{"name":3182,"color":3183},"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":3190,"labels":3191,"number":3193,"owner":3146,"repository":3146,"state":3164,"title":3194,"updated_at":3195,"url":3196,"score":3197},"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>",[3192],{"name":3182,"color":3183},1434,"i can not use '~' in my vue file","2023-01-18T15:41:49Z","https://github.com/nuxt/nuxt/issues/1434",0.72321606,{"description":3199,"labels":3200,"number":3210,"owner":3146,"repository":3146,"state":3164,"title":3211,"updated_at":3212,"url":3213,"score":3214},"### 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).",[3201,3204,3207],{"name":3202,"color":3203},"discussion","538de2",{"name":3205,"color":3206},"3.x","29bc7f",{"name":3208,"color":3209},"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":3216,"labels":3217,"number":3219,"owner":3146,"repository":3146,"state":3164,"title":3220,"updated_at":3221,"url":3222,"score":3223},"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>",[3218],{"name":3182,"color":3183},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":3225,"labels":3226,"number":3230,"owner":3146,"repository":3163,"state":3164,"title":3231,"updated_at":3232,"url":3233,"score":3234},"### 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",[3227],{"name":3228,"color":3229},"question","d876e3",1740,"UCheckbox v-model as array","2025-03-31T08:02:40Z","https://github.com/nuxt/ui/issues/1740",0.73028046,{"description":3236,"labels":3237,"number":3240,"owner":3146,"repository":3241,"state":3164,"title":3242,"updated_at":3243,"url":3244,"score":3245},"\n",[3238],{"name":3157,"color":3239},"ff281a",728,"nuxt.com","Newsletter submission fails","2023-02-15T12:32:48Z","https://github.com/nuxt/nuxt.com/issues/728",0.7316022,{"description":3247,"labels":3248,"number":3249,"owner":3146,"repository":3241,"state":3164,"title":3250,"updated_at":3251,"url":3252,"score":3253},"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",3255],{},["Set"],["ShallowReactive",3258],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fC03F09IohTmft81TWfHMX3Ebc1ZNSeEIpVQQWALo20M":-1},"/nuxt/ui/3247"]