VUE+webpack+element-ui single page background management project;
The number ofpages is about 200 ;
the number of interfaces is 800mm;
introduce a variety of third-party plug-ins, including swiper, echart, lodash, quill-edit, qiniu-js, mock, etc.
changes to code in the development process of the project will trigger page refresh (hot update), which is extremely slow, and the compilation time is more than 30s
.
later, using HMR (hot replacement) can not solve the problem; the specific situation is: save code in the editor > wait for the HMR response on the page > no action on the page for more than 30 seconds > accept update data from HMR > hot replace.
ask the boss if there is any way to optimize this problem?
waiting