07akioni / naive-ui-nuxt-demo

53 stars 23 forks source link

太慢了 #6

Closed CV-souryu closed 2 years ago

CV-souryu commented 2 years ago

nuxt dev 需要 20秒以上 CPU:i5-9400f RAM:16GB https://github.com/Genshin-Impact-Cult-of-Noelle/Noelle-Nuxt3-SLS/tree/UISLOW

07akioni commented 2 years ago
image

把这个加上,会快很多,和这个库 config 一致

07akioni commented 2 years ago
image
07akioni commented 2 years ago

之前的问题是那个项目 naive-ui 没有放进 optimize deps,导致每次开启要发 2000 多个请求