vite-pwa / vitepress

Zero-config PWA Plugin for VitePress

Home Page:https://vite-pwa-org.netlify.app/frameworks/vitepress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

check mpa

userquin opened this issue · comments

not working in pwa-prompt example, there is no client build!

EDIT: we should check if adding a custom plugin removing the ssr check (on pwa build plugin) works (it should work: we're getting the api reference using mpa flag)

just adding the closeBundle hook here https://github.com/userquin/vite-pwa-vitepress-integration/blob/main/src/index.ts#L40, checking for api and mpa and calling api.generateSW() should work

Mpa support in vitepress seems to be broken...