Skip to content

Commit

Permalink
feature: PWA support (#31)
Browse files Browse the repository at this point in the history
* install vite-plugin-pwa

* add some config

* fix: remove site.webmanifest
  • Loading branch information
r4ai authored Apr 22, 2023
1 parent aeb967e commit 46c7baa
Show file tree
Hide file tree
Showing 8 changed files with 1,883 additions and 48 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

dist
dist-ssr
dev-dist
*.local

# Editor directories and files
Expand Down
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#6453dd" />
<meta name="msapplication-TileColor" content="#603cba" />
<meta name="theme-color" content="#ffffff" />
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"tslib": "^2.5.0",
"typescript": "^5.0.2",
"vite": "^4.2.1",
"vite-plugin-pwa": "^0.14.7",
"vite-tsconfig-paths": "^4.0.7",
"vitest": "^0.29.7",
"webdriverio": "^8.6.9"
Expand Down
Loading

0 comments on commit 46c7baa

Please sign in to comment.