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.
7 lines
178 B
TypeScript
7 lines
178 B
TypeScript
import { defineConfig, minimal2023Preset } from '@vite-pwa/assets-generator/config'
|
|
|
|
export default defineConfig({
|
|
preset: minimal2023Preset,
|
|
images: ['public/icon.svg'],
|
|
})
|