Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta: Frontend folder / files structure #9

Open
lewebsimple opened this issue Oct 23, 2020 · 3 comments
Open

meta: Frontend folder / files structure #9

lewebsimple opened this issue Oct 23, 2020 · 3 comments

Comments

@lewebsimple
Copy link
Collaborator

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
Copy link

Sounds good!

@lewebsimple
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants