N
Nuxt2y ago
Alireza

Recommended place to put custom types

I am putting my custom type defs in the /utils directory. Is there a better place to put them? What do you do usually?
5 Replies
Fabian B.
Fabian B.2y ago
I usually put them in /types, but I guess it's fine either way.
Alireza
Alireza2y ago
Just to make sure, there is no auto-import for types yet? right?
Fabian B.
Fabian B.2y ago
Yeah, not currently
Fabian B.
Fabian B.2y ago
Stack Overflow
How to add global interfaces to Nuxt project
I just started with Nuxt 3 and have been having some trouble with using typescript functionality. I am trying to build a general NavBar that can have multiple buttons with different links. For this I
Fabian B.
Fabian B.2y ago
Its on typescript level then, not nuxt
Want results from more Discord servers?
Add your server