[![npm](https://img.shields.io/npm/dt/@nuxtjs/offline.svg?style=flat-square)](https://npmjs.com/package/@nuxtjs/offline) [![npm (scoped with tag)](https://img.shields.io/npm/v/@nuxtjs/offline/latest.svg?style=flat-square)](https://npmjs.com/package/@nuxtj


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
21935Jun 20, 2021Aug 26, 2020Minified + gzip package size for @nuxtjs/offline in KB



npm npm (scoped with tag)

This module only works in production mode

Note: Please prefer using pwa-module module instead for full offline support.

  • Registers service worker
  • Scopes cacheName to allow having multi apps in same domain.


  • Add @nuxtjs/offline dependency using yarn or npm to your project

  • Add @nuxtjs/offline to modules section of nuxt.config.js

    modules: [
      // Simple usage
     // With options
     ['@nuxtjs/offline', { /* ... */ }],

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.