\nI'd really appreciate it if the team considers a more flexible and intuitive API.\n\n### Additional information\n\n- [ ] Would you be willing to help implement this feature?\n- [ ] Could this feature be implemented as a module?\n\n### Final checks\n\n- [x] Read the [contribution guide](https://nuxt.com/docs/community/contribution).\n- [x] Check existing [discussions](https://github.com/nuxt/nuxt/discussions) and [issues](https://github.com/nuxt/nuxt/issues).",[2865,2868],{"name":2866,"color":2867},"enhancement","8DEF37",{"name":2869,"color":2870},"pending triage","E99695",29275,"nuxt","open","Better API for Auto Imports Customization","2024-10-08T08:40:01Z","https://github.com/nuxt/nuxt/issues/29275",0.64939064,{"description":2879,"labels":2880,"number":2885,"owner":2872,"repository":2872,"state":2873,"title":2886,"updated_at":2887,"url":2888,"score":2889},"### Describe the feature\r\n\r\nA common practice is to separate the logic between files and keep the test files together with the code.\r\nI suggest to scan index files within the subdirectories for composables, utils and middlewares by default, how it is currently done for modules and plugins (but is deprecated https://github.com/nuxt/nuxt/issues/25331 😞 ), where the auto-registered files patterns are:\n\n```sh\nmodules/*/index.ts\nmodules/*.ts\n```\r\n\r\n### Motivation:\r\nI recently created another Nuxt project and without suspecting it, created a folder with an index file inside composables, but of course it did not work. So I had to do what I do for all new Nuxt projects::\r\n```ts\r\n dirs: [\r\n 'composables/*/*.ts',\r\n 'utils/*/*.ts'\r\n ],\r\n```\r\n\r\nWhich seems unnatural and, to me, doesn't really fit with Nuxt's title — \"The **Intuitive** Vue framework.\"\r\nThe typical folders structure I usually work with:\r\n```sh\r\ncomposables/\r\n useHost/\r\n tests\r\n index.ts\r\n useMask/\r\n tests\r\n index.ts\r\n...\r\n```\r\n\r\n### Additional information\r\n\r\n- [X] 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://nuxt.com/docs/community/contribution).\r\n- [X] Check existing [discussions](https://github.com/nuxt/nuxt/discussions) and [issues](https://github.com/nuxt/nuxt/issues).",[2881,2882],{"name":2866,"color":2867},{"name":2883,"color":2884},"workaround available","11376d",25831,"Scan index files within subdirectories for composables, utils and middlewares","2024-06-30T11:05:44Z","https://github.com/nuxt/nuxt/issues/25831",0.67412806,{"description":2891,"labels":2892,"number":2897,"owner":2872,"repository":2872,"state":2873,"title":2898,"updated_at":2899,"url":2900,"score":2901},"### Describe the feature\n\nHey I am currently moving a big project from standard vue3 to nuxt, and have to rewrite most of my options api code to composition api..\r\n\r\nThe issue mostly is that some features are not there in composition api and when one is missing i can't \"link\" it to options api and then i got to go down the rabbit hole of changing my code to use composition api although it's already completely valid options api code.\r\n\r\nFor real, props, it is an awesome framework and it's very impressive etc.\r\n\r\nBUT.... in my opinion, it is kind of weird that it does not fully support vue (from my pov) as i do have to use so much \"special\" vue code instead of easily porting my app.\r\n\r\nI am still continuing to use nuxt for now but if you were able to make the transition a bit easier, i think a lot of people would use nuxt instead of plain old vue 3.\r\n\r\nI am willing to help with the adoption by saying what needs to happen (for a project like mine) to be easily portable to nuxt, if that is helpful.\r\n\r\nLmk what u think :) \n\n### Additional information\n\n- [X] Would you be willing to help implement this feature?\n- [ ] Could this feature be implemented as a module?\n\n### Final checks\n\n- [X] Read the [contribution guide](https://nuxt.com/docs/community/contribution).\n- [X] Check existing [discussions](https://github.com/nuxt/nuxt/discussions) and [issues](https://github.com/nuxt/nuxt/issues).",[2893,2894],{"name":2866,"color":2867},{"name":2895,"color":2896},"🍰 p2-nice-to-have","0E8A16",21670,"Missing Support (Or documentation of) Options API with Nuxt","2024-06-30T11:08:29Z","https://github.com/nuxt/nuxt/issues/21670",0.6772003,{"labels":2903,"number":2911,"owner":2872,"repository":2872,"state":2912,"title":2913,"updated_at":2914,"url":2915,"score":2916},[2904,2905,2908],{"name":2866,"color":2867},{"name":2906,"color":2907},"3.x","29bc7f",{"name":2909,"color":2910},"dx","C39D69",12789,"closed","composable auto import improvements","2023-01-19T16:40:15Z","https://github.com/nuxt/nuxt/issues/12789",0.6153614,{"labels":2918,"number":2919,"owner":2872,"repository":2872,"state":2912,"title":2913,"updated_at":2920,"url":2921,"score":2922},[],12858,"2023-01-19T16:38:31Z","https://github.com/nuxt/nuxt/issues/12858",0.6264641,{"labels":2924,"number":2925,"owner":2872,"repository":2872,"state":2912,"title":2913,"updated_at":2926,"url":2927,"score":2922},[],12942,"2023-01-19T16:39:56Z","https://github.com/nuxt/nuxt/issues/12942",{"labels":2929,"number":2933,"owner":2872,"repository":2872,"state":2912,"title":2934,"updated_at":2935,"url":2936,"score":2937},[2930,2931,2932],{"name":2866,"color":2867},{"name":2906,"color":2907},{"name":2909,"color":2910},13383,"expose app and app types as `nuxt3/app`","2023-01-19T16:54:17Z","https://github.com/nuxt/nuxt/issues/13383",0.62808186,{"description":2939,"labels":2940,"number":2946,"owner":2872,"repository":2872,"state":2912,"title":2947,"updated_at":2948,"url":2949,"score":2950},"### Describe the feature\n\nI've been enjoying the DX of auto-imported components and composables ever since the release of those packages for Vue and I'm happy it's auto-configured for Nuxt.\r\n\r\nAs for the next step, would it be possible to **selectively** auto-import types? There's no point in auto-importing everything because large apps would just have too many types clogging the IDE and there would be naming collisions all over the place. But perhaps by adding a `.global` or `.auto` to a type file's name, exported types in those files could be safely auto-imported. It would certainly be a handy tool for those ubiquitous types that tend to sneak into many of your components.\r\n\r\nI'm sure there's pros and cons to this, so let's discuss 💬\n\n### Additional information\n\n- [ ] Would you be willing to help implement this feature?\n- [ ] Could this feature be implemented as a module?\n\n### Final checks\n\n- [X] Read the [contribution guide](https://nuxt.com/docs/community/contribution).\n- [X] Check existing [discussions](https://github.com/nuxt/nuxt/discussions) and [issues](https://github.com/nuxt/nuxt/issues).",[2941,2942,2945],{"name":2866,"color":2867},{"name":2943,"color":2944},"discussion","538de2",{"name":2895,"color":2896},27719,"Types auto-import","2024-08-09T09:39:34Z","https://github.com/nuxt/nuxt/issues/27719",0.6473772,{"description":2952,"labels":2953,"number":2958,"owner":2872,"repository":2872,"state":2912,"title":2959,"updated_at":2960,"url":2961,"score":2962},"Nuxt 3 uses Vue 3 with Composition API and [unjs/unctx](https://github.com/unjs/unctx) for supporting composables with the implicit context in nuxtApp (plugins, middleware) and nuxt kit too.\r\n\r\nHowever, there are many cases in this needs a better explanation of how it works internally to understand why an issue like [nuxt instance unavailable](https://github.com/nuxt/framework/issues?q=nuxt+instance+unavailable) happens and how to fix it with proper usage.\r\n\r\nI've made an outline story in https://github.com/nuxt/nuxt.js/issues/14269 which can probably be used as a basis to initiate this concept page.",[2954,2957],{"name":2955,"color":2956},"documentation","5319e7",{"name":2906,"color":2907},14723,"Document composables concept","2023-09-19T20:24:18Z","https://github.com/nuxt/nuxt/issues/14723",0.6512826,{"description":2964,"labels":2965,"number":2971,"owner":2872,"repository":2872,"state":2912,"title":2972,"updated_at":2973,"url":2974,"score":2975},"### Environment\n\n\"nuxt\": \"^3.6.2\",\r\n\n\n### Reproduction\n\nHi!\r\nI try to add a composable under the composables folder and call it into a vue file.\n\n### Describe the bug\n\nIt returns 500 Not Defined\r\n\r\n\u003Cimg width=\"1047\" alt=\"Screenshot 2023-07-14 at 10 11 07\" src=\"https://github.com/nuxt/nuxt/assets/38940340/b6569e6f-10b3-453d-8a7d-3f688656bfb7\">\r\n\r\nThanks and kind regards,\r\n\r\nDavide\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2966,2967,2968],{"name":2906,"color":2907},{"name":2869,"color":2870},{"name":2969,"color":2970},"needs reproduction","FBCA04",22136,"Composables autoimport doesn't works in my \"nuxt\": \"^3.6.2\",","2023-10-20T10:59:25Z","https://github.com/nuxt/nuxt/issues/22136",0.65416396,["Reactive",2977],{},["Set"],["ShallowReactive",2980],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fJKcG6VA0h3qcYqv1m6zkDEXL6dw0CjlfOqcNEn6KMd0":-1},"/nuxt/nuxt/11862"]