Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.17 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.17 KB

lunch-pwa

A progressive Web App for Offline-Employees to see their daily lunch.

How to use notifications

# build for production with minification
npm run build

# you need a local http server, if not installed yet use
npm install -g serve

# run local server
serve dist

To trigger a notifications, open the Postman collection (Firebase.postman_collection.json) in Postman and execute the request.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# build for production, move firebase service worker accordingly and deploy to firebase
npm run deploy

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

References