npm install
npm run dev # test locally at localhost:5173-
Install Vercel CLI
npm install -g vercel
-
Deploy
vercel
- Follow prompts (create account if needed)
- Accept all defaults
- Done — you'll get a URL like
decay-xyz.vercel.app
-
(Optional) Custom domain
- In Vercel dashboard → your project → Settings → Domains
- Add e.g.
decay.yourdomain.com
- Open your Vercel URL in Safari (must be Safari, not Chrome)
- Tap the Share button (box with arrow)
- Tap "Add to Home Screen"
- Tap Add
The app will now open fullscreen like a native app, with your icon on the home screen.
- Open your Vercel URL in Chrome
- Tap the ⋮ menu → "Add to Home screen"
- Tap Add
- Data is stored in
localStorage— it stays on the device, not synced across devices - Works offline after first load (service worker caches the app)
- To update the app, just run
vercelagain