Re:Vue.js: the good, the meh, and the ugly
by mcbits on Thursday July 05, 2018 @06:54PM
(#17467561)
Five (5) megabytes of JavaScript for a basic brochure site... I assume 99.9% of that is only necessary after signing up and signing in, not while unfortunately viewing the page on a less-than-flagship mobile device and metered data plan?
[ Parent
| on HN ]
Re:Vue.js: the good, the meh, and the ugly
by joshschreuder on Thursday July 05, 2018 @07:19PM
(#17467698)
Welcome to web in 201x. This is not a problem exclusive to Vue.
With that said, the new vue-cli uses Webpack 4 now which can do code splitting, and you can code split on route also to make individual page bundles smaller.
Re:Vue.js: the good, the meh, and the ugly
by carusooneliner on Thursday July 05, 2018 @07:38PM
(#17467804)
It's going to change and get less hefty, we're looking into code splitting.
Re:Vue.js: the good, the meh, and the ugly
by caseymarquis on Thursday July 05, 2018 @10:43PM
(#17468496)
Vue makes it incredibly easy!
The new module system makes it easy ;)
Not to mention the images. The home page background image alone is 600ko ! More than the entire HTML.
Saving the site on the hard drive gives me a wooping 10Mo for a home page. with a menu, a few pictures and some text.
This is insane.