vuepress-theme-hope

vuepress-plugin-pwa2

Turning on Progressive Web App Support

Guide 💡Config 🛠

How to use

Install

pnpm add -D vuepress-plugin-pwa2@next

Usage

// .vuepress/config.ts
import { pwaPlugin } from "vuepress-plugin-pwa2";

export default {
  plugins: [
    pwaPlugin({
      // your options
    }),
  ],
};

Tips

If you are using this plugin, we recommend you to set shouldPrefetch: false in your VuePress config file.