Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/versecafe/serwist-ppr-issue-demo
demo of serwist pwa ppr loading bug
https://github.com/versecafe/serwist-ppr-issue-demo
Last synced: 16 days ago
JSON representation
demo of serwist pwa ppr loading bug
- Host: GitHub
- URL: https://github.com/versecafe/serwist-ppr-issue-demo
- Owner: versecafe
- Created: 2024-01-29T06:33:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-29T06:33:56.000Z (about 1 year ago)
- Last Synced: 2024-11-20T16:39:24.220Z (3 months ago)
- Language: TypeScript
- Size: 83 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serwist example - next-basic
This example demonstrates how to use Serwist with Next.js.
## Usage
[![Open in Gitpod and run](https://img.shields.io/badge/Open%20In-Gitpod.io-%231966D2?style=for-the-badge&logo=gitpod)](https://gitpod.io/#https://github.com/serwist/serwist/)
```bash
cd examples/next-basic
pnpm build
pnpm start
```or
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), [pnpm](https://pnpm.io), or [bun](https://bun.sh) to bootstrap the example:
```bash
npx create-next-app --example https://github.com/serwist/serwist/tree/main/examples/next-basic my-app
``````bash
yarn create next-app --example https://github.com/serwist/serwist/tree/main/examples/next-basic my-app
``````bash
pnpm create next-app --example https://github.com/serwist/serwist/tree/main/examples/next-basic my-app
``````bash
bun create next-app --example https://github.com/serwist/serwist/tree/main/examples/next-basic my-app
```## Recommended `.gitignore`
```gitignore
**/public/serwist**
**/public/sw**
**/public/worker**
**/public/fallback**
**/public/precache**
```