Ares-Chang / uni-vitesse

使用 Vitesse cli 而不是 HbuildX 获得 double 的开发快乐! Uniapp + Vue 3 + TS + UnoCSS template
https://uni-vitesse.netlify.app
MIT License
291 stars 53 forks source link

不能热更新怎么破 #9

Closed BWrong closed 1 year ago

Ares-Chang commented 1 year ago

新增页面后重启一下项目,layout 暂时无法热更新。如果你对这块比较熟悉,可以查看这个插件 @uni-helper/vite-plugin-uni-layouts ,给它提个 PR。感谢

BWrong commented 1 year ago

暂时去掉了layout和pages 正常了

Ares-Chang commented 1 year ago

是的,这个地方没热更新😅,但是我觉得这两个或者 pages 是核心。

但是我技术有限,对热更新不是很了解无法更改。

Ares-Chang commented 1 year ago

如果感兴趣可以给它提个 pr 或者看看 uni-helper 的其它插件,都是针对 uni-app 开发的,如果能对你的项目起到帮助肯定是非常好的。

BWrong commented 1 year ago

后面空了在研究研究,忙着搬砖还没时间搞😀

Ares-Chang commented 1 year ago

感谢使用,如果有其它建议,欢迎 issues