FMHYedit/.vitepress/theme/pwa.ts
2023-11-03 12:08:42 +05:30

4 lines
85 B
TypeScript

import { registerSW } from "virtual:pwa-register";
registerSW({ immediate: true });