Skip to content

Commit

Permalink
[2023-09-14] add service worker and support pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
plantree committed Sep 14, 2023
1 parent b5e5611 commit 23f3a55
Show file tree
Hide file tree
Showing 10 changed files with 2,404 additions and 33 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,6 @@ dist
.yarn/install-state.gz
.pnp.*

paddle/
paddle/
dev-dist/
AppImages*
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="an easy offline tool for OCR" />
<meta name="theme-color" content="#ffffff" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" />
<title>We OCR</title>
</head>

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@
"typescript": "^5.0.2",
"vfonts": "^0.0.3",
"vite": "^4.4.5",
"vite-plugin-pwa": "^0.16.5",
"vitest": "^0.34.3",
"vue-clipboard3": "^2.0.0",
"vue-tsc": "^1.8.5"
"vue-tsc": "^1.8.5",
"workbox-window": "^7.0.0"
}
}
Loading

0 comments on commit 23f3a55

Please sign in to comment.