nextjs-ts-pwa
This template includes as below.
- Next.js
- Express.js(Custom Server)
- TypeScript
- PWA by next-offline
- Service Worker
- Pre Caching
- Runtime Caching(sample)
- Add to HomeScreen
- manifest.json
Requirements
nodemon
On development mode, this template runs by custom server and nodemon.
You'd better install nodemon
in global environment.
Build Setup
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn start:dev
# build for production and launch server
$ yarn build
$ yarn start:prd