DEV Community

Discussion on: What is all that stuff in this frontend repo?

Collapse
 
chiubaca profile image
Alex Chiu • Edited

Yeah my Nuxt project is a mess and I have what feels like a million separate config and .rc files.

I just don't know if its clearer to have to have them all as separate files or if they should just be managed in monolithic package.json file...

Collapse
 
justusromijn profile image
Justus Romijn

Some projects defer all those files to a specific config subfolder, however this can be a bit awkward as most people expect a lot of those files to be defined in the root. I tend to stick with common practice to avoid throwing people off, even though this means a bit of a bloated root. Its all about trade-offs.