mirror of
https://github.com/mroxso/zelo-news.git
synced 2026-04-09 23:16:49 +02:00
* feat: add PWA support with service worker and icons - Updated package.json to include vite-plugin-pwa. - Added PWA icons: icon-192.png, icon-512.png, and icon.svg. - Registered service worker in main.tsx for PWA functionality. - Configured Vite to use PWA plugin with manifest and caching strategies. * refactor: remove service worker registration code from main.tsx * fix: update urlPattern regex for NetworkOnly caching handler in vite.config.ts --------- Co-authored-by: highperfocused <highperfocused@pm.me>
14 lines
320 B
TypeScript
14 lines
320 B
TypeScript
import { createRoot } from 'react-dom/client';
|
|
|
|
// Import polyfills first
|
|
import './lib/polyfills.ts';
|
|
|
|
import { ErrorBoundary } from '@/components/ErrorBoundary';
|
|
import App from './App.tsx';
|
|
import './index.css';
|
|
|
|
createRoot(document.getElementById("root")!).render(
|
|
<ErrorBoundary>
|
|
<App />
|
|
</ErrorBoundary>
|
|
); |