Initial commit: installable PWA hello world
React + TypeScript + Tailwind v4 + shadcn/ui frontend (client), Express + better-sqlite3 backend (server) in a pnpm workspace. Includes vite-plugin-pwa manifest, service worker, and iOS install meta tags. GET /api/hello increments a visit counter in SQLite; backend serves the built client in production.
This commit is contained in:
6
client/pwa-assets.config.ts
Normal file
6
client/pwa-assets.config.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { defineConfig, minimal2023Preset } from '@vite-pwa/assets-generator/config'
|
||||
|
||||
export default defineConfig({
|
||||
preset: minimal2023Preset,
|
||||
images: ['public/icon.svg'],
|
||||
})
|
||||
Reference in New Issue
Block a user