https://github.com/ojack/mini-app-template
vanilla PWA example
https://github.com/ojack/mini-app-template
Last synced: 14 days ago
JSON representation
vanilla PWA example
- Host: GitHub
- URL: https://github.com/ojack/mini-app-template
- Owner: ojack
- Created: 2024-02-13T14:09:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-13T15:26:22.000Z (over 2 years ago)
- Last Synced: 2025-02-24T05:45:32.955Z (over 1 year ago)
- Language: JavaScript
- Size: 620 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MINI APP starter project
Starter project for a vanilla application deployable as a PWA.
## Files contained in this project
- index.html - main html of your project
- main.js - entry point to the javascript for your project
## Running the project
## Resources
https://css-tricks.com/vitepwa-plugin-offline-service-worker/
TIP
Check out the PWA Assets Generator to generate all the icons and images required for your PWA application.
You can also use PWA Builder Image Generator to generate all your PWA application's icons.
## Updating
3. change relevant files
#### vite.config.js
- base
- manifest: name, short_name, description
- icon and favicon paths (if names are different)
#### package.json
- name
- scripts: publish
## To build
- `npm run build`
- `npm run preview`