Files
irandom/README.md
T

47 lines
692 B
Markdown

# irandom
## Setup
```
npm install
```
### Dev server
```
npm run serve
```
or
```
npm run dev
```
### Production build
```
npm run build
```
### Preview production build
```
npm run preview
```
### Lint
```
npm run lint
```
### Customization
Copy `.env.example` to `.env` and set branding / theme variables.
`npm run serve` / `npm run build` regenerates `public/config.js` automatically.
### Offline (PWA)
Production build registers a service worker and caches the app shell.
After opening the site once online:
```
npm run build
npm run preview
```
you can reload without network — generators keep working.
`config.js` uses NetworkFirst (fresh when online, cached when offline).