New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
开发环境下可以优化启动性能吗? #301
Comments
+1 , 并且 |
cc @antfu |
It's not an issue of the plugin but rather Vite itself, we are already working on it vitejs/vite#6758 |
@antfu Is this problem solved? As of today, I have updated to the latest version, but it is still very slow |
Is it possible to add configuration to use full import in dev mode? |
still found the same problem in vite2.9.0 beta-3 |
vite@2.9.0-beta.7已解决该问题 |
|
用2.9.5就行,除了第一次慢点,或者依赖重装的话,因为在加缓存,node_modules/.vite/deps下 |
好的 十分感谢
|
this issue still exist in vite 3.0+,now, i reslove it by full import in dev mode |
"vite": "^4.1.4",
"unplugin-vue-components": "^0.24.1", 是的,现在还是如此,我不得不手动按需引入了 |
发送失败!
|
我的一个很小的项目,开发环境首次加载时间能干到2-3分钟。UI库是ant-design-vue。体验极差。 |
在开发环境下,直接全局引入Element-plus非常快,但使用插件解析组件库则需要花非常多的时间,打开浏览器页面一直在转圈圈,vite不停地在解析依赖,整个过程需要花费10多秒的时间,如果再引入其他依赖,那么时间将增大到半分钟
The text was updated successfully, but these errors were encountered: