Home
Sign Up
Sign In
›
Vue.js
Advertisement
V2EX
›
Vue.js
vue-cli 构建的项目,首屏加载为什么慢?
liqingbokonner
·
Oct 28, 2017
· 3933 views
This topic created in 3164 days ago, the information mentioned may be changed or developed.
vue-cli 构建的项目,首屏加载为什么慢?(作者自己在知乎说的,他的解决方法是 ssr )
是因为多了 模块解析 + virtual Dom 解析的步骤吗?
相对于传统页面 vue-cli 构建的中型大小的项目首屏加载速度会慢多少?
vue-cli
构建
解析
ssr
1 replies
1
vincentxu
Oct 28, 2017
http://webpack.github.io/docs/api-in-modules.html#require-ensure
可以看看这个,异步加载其他没用到的模块
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
930 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 6b34f497 · 29ms ·
UTC 22:47
·
PVG 06:47
·
LAX 15:47
·
JFK 18:47
♥ Do have faith in what you're doing.
❯