Skip to main content

Introduction

Welcome to the next-pwa documentation!

What is @ducanh2912/next-pwa?

@ducanh2912/next-pwa is a package that allows you to create a progressive web app with Next.js.

This is the predecessor of @serwist/next. If you are just getting started, we recommend using Serwist instead.

How to install @ducanh2912/next-pwa?

See Getting started.

How to configure it?

See Configuring.

Does it support offline mode?

Out of the box, JavaScript, CSS, and images assets are precached, and pages are cached as you visits them. You can also enable offline fallbacks to handle uncached assets and pages.

For more information, see Offline support.

Alternatives

There are also some alternatives to @ducanh2912/next-pwa: