From b75228c45d8748cc71e4cfaa7fe119b0e5a4cd15 Mon Sep 17 00:00:00 2001 From: CharleeWa <18888351756@163.com> Date: Fri, 8 Mar 2024 12:01:56 +0800 Subject: [PATCH] feat: Add PWA support (#64) --- README.md | 3 + README.zh-CN.md | 3 + build/vite/index.ts | 30 ++ index.html | 4 +- package.json | 3 +- pnpm-lock.yaml | 918 ++++++++++++++++++++++++++++++++++- public/favicon-dark.svg | 4 + public/favicon.ico | Bin 4286 -> 0 bytes public/favicon.svg | 4 + public/pwa-192x192.png | Bin 0 -> 4965 bytes public/pwa-512x512.png | Bin 0 -> 17970 bytes public/safari-pinned-tab.svg | 32 ++ src/App.vue | 7 + src/components.d.ts | 1 - tsconfig.json | 3 +- 15 files changed, 1005 insertions(+), 7 deletions(-) create mode 100644 public/favicon-dark.svg delete mode 100644 public/favicon.ico create mode 100644 public/favicon.svg create mode 100644 public/pwa-192x192.png create mode 100644 public/pwa-512x512.png create mode 100644 public/safari-pinned-tab.svg diff --git a/README.md b/README.md index bc8a3f5..397ef79 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,8 @@ - 📑 [Layout system](./src/layouts) +- 📲 [PWA](https://github.com/antfu/vite-plugin-pwa) + - 🎨 [UnoCSS](https://github.com/antfu/unocss) - the instant on-demand atomic CSS engine - 🔥 Use the [new `