This package has been deprecated

Author message:

Please use https://pwa.nuxtjs.org

@nuxtjs/offline

1.0.7 • Public • Published

Offline

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.

Setup

  • Add @nuxtjs/offline dependency using yarn or npm to your project
  • Add @nuxtjs/offline to modules section of nuxt.config.js
  modules: [
    // Simple usage
   '@nuxtjs/offline',

   // With options
   ['@nuxtjs/offline', { /* ... */ }],
  ]

Readme

Keywords

none

Package Sidebar

Install

npm i @nuxtjs/offline

Weekly Downloads

1

Version

1.0.7

License

MIT

Unpacked Size

6.08 kB

Total Files

6

Last publish

Collaborators

  • antfu
  • danielroe
  • clarkdo
  • pi0
  • atinux
  • alexchopin