I'm migrating over to NuxtJS 3, but my project has several levels of component
folders:
/components
/foo
file.vue
file2.vue
/fooTwo
anotherfile.vue
/bar
file1.vue
file10.vue
etc...
Because of Nuxt's naming convention, if I try to import the anotherfile
component I'd have to rename every place it's used inside my codebase to this: <FooFooTwoanotherfile/>
Because their documentation states:
the component's name will be based on its own path directory and filename
I really don't want to go through and rename every place that the component is being used. And I also would prefer to not flatten my directory structure either. So, is there some config option in Nuxt 3 that overrides this and lets me just globally call the components by their original name?