Answer the question
In order to leave comments, you need to log in
How to write a big application in Vue.js and not die?
Hey!
I have quite a lot of experience developing simple spas with Vue.js. Without server rendering, but with "buns" in the form of Vuex, vue-cli, webpack.
But now I have to write a really big application (dashboard a la crm) with custom controls (UI). There is no server rendering in the requirements.
The difficulty is that now there are already more than 30 components of different sizes, and the assembly in dev mode no longer takes 2 seconds, but 30-45, and this starts to strain. Standard UI project components, such as BaseBtn, BaseInput, etc. moved it to a separate npm library so as not to turn the project structure into a dump.
I ask the Community to help with advice on developing large applications on Vue.js.
Thank you!
Answer the question
In order to leave comments, you need to log in
Is there something wrong in the webpack configs?
I currently have about 600+ vue components in my project.
Rebuilding in dev with hot reload takes 2-5 seconds.
(win, ram 16gb, ssd, some old i3)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question