This is a sample minimal app to show how to make a PWA (Progressive Web App) using Vite
npm init vite@latest my-react-pwa
yarn add --dev workbox-window vite-plugin-pwa
# Not needed
yarn add --dev tailwindcss postcss autoprefixer
yarn tailwindcss init -p
<meta name="theme-color" content="#000000" />
<!-- support apple devices -->
<link rel="apple-touch-icon" href="/vite.svg" />
https://dev.to/bhendi/turn-your-react-vite-app-into-a-pwa-3lpg