feat: add PWA offline unlock support

This commit is contained in:
shuaiplus
2026-06-09 12:09:44 +08:00
parent 5ed7c949c1
commit d4749d3f82
10 changed files with 527 additions and 10 deletions
+2
View File
@@ -2,6 +2,7 @@ import { render } from 'preact';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import App from './App';
import { initI18n } from './lib/i18n';
import { registerNodeWardenServiceWorker } from './lib/pwa';
import './tailwind.css';
import './styles.css';
@@ -29,4 +30,5 @@ function renderApp(): void {
void initI18n().finally(() => {
renderApp();
registerNodeWardenServiceWorker();
});