Open ocweai opened 1 month ago
You can use vite-plugin-pwa for that - https://vite-pwa-org.netlify.app/frameworks/vitepress
Or if you don't want full PWA and just want a update prompt, then you probably will need to poll your server for any changes in the manifest (you can basically create a file in buildEnd hook having timestamp) and show the update prompt.
Is your feature request related to a problem? Please describe.
希望可以有个版本更新通知的功能
Describe the solution you'd like
支持在 md 文件更新后去通知用户主动刷新对应路由页面
Describe alternatives you've considered
No response
Additional context
No response
Validations