kylyi
kylyi
NNuxt
Created by kylyi on 2/17/2025 in #❓・help
Partial autoimport from layers
I am trying to build an app that uses multiple layers. For some layers, I would like to turn off the implicit autoimported dirs (./composables, ./utils) Let's have the following example:
File structure
- apps
- app1

- packages
- layer1
- composables
- useStuff1.ts
- layer2
- useStuff2.ts
- apps
- app1

- packages
- layer1
- composables
- useStuff1.ts
- layer2
- useStuff2.ts
I would like the useStuff1 to be autoimported, while useStuff2.ts not. Is that currently possible?
10 replies