PWA with nuxt js

Turning your web app into a PWA using Nuxt is too easy and simple

Install PWA npm package:

yarn add @nuxtjs/pwa //or npm i @nuxtjs/pwa

Edit your nuxt.config.js file and add PWA module:

    modules: [

Make sure static directory exists and optionally create static/icon.png. (Recommended to be square png and >= 512x512px)

Create or add this to .gitignore file so that this will not uploaded on git


On: 02-16-2020