alavieille / pwa

Progressive Web App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Progressive web app

Progressive web app

Build

# install dependencies

npm install

# build for production with minification

npm run build

# Emulate an HTTP server with serve (https://github.com/zeit/serve)
# require node ≥ 6.9.0

sudo npm install -g serve
serve dist/ -p 8080

#Expose your localhost with ngrock to use https
npm install -g ngrok
ngrok http 8080

#Browse ngrok url https://5ef29506.ngrok.io with your smartphone

Becareful use https is important if you want test all features (location, camera, etc)

Dev

# install dependencies

npm install

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

About

Progressive Web App


Languages

Language:JavaScript 66.9%Language:Vue 27.0%Language:HTML 6.1%