Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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', { /* ... */ }],
  ]

Keywords

none

Install

npm i @nuxtjs/offline

DownloadsWeekly Downloads

39

Version

1.0.7

License

MIT

Unpacked Size

6.08 kB

Total Files

6

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar