chagadev / fullstack-boilerplate

Fullstack application boilerplate (Fastify / Mercurius / Nexus / Prisma / Vue 3).
19 stars 3 forks source link

meta: Frontend folder / files structure #9

Open lewebsimple opened 4 years ago

lewebsimple commented 4 years ago

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.

kingkong404 commented 4 years ago

Sounds good!

lewebsimple commented 3 years ago

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.

lewebsimple commented 3 years ago

The components folder structure / naming conventions are still up for discussion.