fullstack-boilerplate
fullstack-boilerplate copied to clipboard
meta: Frontend folder / files structure
I'd like to have good code organization for the frontend views and components, i.e. decoupling presentation from logic. We already have routes mapping manually to views, maybe we could look at what Nuxt and Vue-CLI are doing.
Sounds good!
I added vite-plugin-voie which allows Nuxt-style pages/... component mapping to routes with dynamic params.
As for the components themselves, I also added vite-plugin-components which allows auto-importing components.
The components folder structure / naming conventions are still up for discussion.