MKGaru / service-worker-middle

Pug(Jade) template on service worker example.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Service-Worker-Middle

Pug(Jade) template on service worker example.

Simple and fast response.

Without dynamic server. (only use static server)

Usage

clone

npm install
bower install
typings install
npm run build
cd ./src/client
tsc
cd ../../src/service
tsc
cd ../../ http-server -p 3003 -c1

and browse http://localhost:3003/

Demo

https://mkgaru.github.io/service-worker-middle/

About

Pug(Jade) template on service worker example.


Languages

Language:TypeScript 47.7%Language:JavaScript 28.7%Language:HTML 23.6%