jhipster-lite
jhipster-lite copied to clipboard
Refactoring: vue-core module
I think we need to rework on the vue-core module and to split between smaller modules.
I think the vue-core module should add:
- Vue.js with Vite
- axios
- vue-router (can be discussed)
- all important tools like eslint, typescript, vitest + config, etc
It should not add the home page
Then, the home page should be splitted into 2 modules:
- vue-home-domain, which depends on vue-core
- for the primary part, which depends on vue-home-domain:
- vue-home-primary-native, with default App.html, AppVue.vue etc
- vue-home-primary-bootstrap
- vue-home-primary-tailwind (for example)
- etc
Pinia should be in another dedicated module.
Don't hesitate to comment this, if you have better idea.
I want to work on this, but I need more details about vue-home-domain. Could you please explain its purpose?
Regarding vue-router, I suggest making it a separate module, similar to vue-pinia.
I need to think more, but for now, the vue-home-domain would be nearly empty, as there is no domain. Or maybe simply a Home.ts which would contains the welcome message.
About vue-router and vue-pinia, yes, it should be in separated modules