JSPM

  • Created
  • Published
  • Downloads 94476
  • Score
    100M100P100Q159348F
  • License MIT

Package Exports

  • @nuxtjs/pwa

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nuxtjs/pwa) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

PWA

Progressive Web Apps (PWA) are reliable, fast, and engaging, although there are many things that can take a PWA from a baseline to exemplary experience. (learn more)

This preset adds required modules for full PWA experience with Nuxt with almost zero-config!

Modules

Use options[module] to customize each module or set to false to disable it.

Setup

  • Add @nuxtjs/pwa dependency using yarn or npm to your project
  • Add @nuxtjs/pwa module to nuxt.config.js:
  modules: [
   '@nuxtjs/pwa'
  ]
  • To customize
  modules: [
   {
     src: '@nuxtjs/pwa',
     optimize: false, // Disable optimize 
     workbox: {
       // Workbox options
     },
   }
  ]