Skip to content

Commit

Permalink
Merge pull request EstrellaXD#424 from Rewrite0/pwa
Browse files Browse the repository at this point in the history
webui pwa support
  • Loading branch information
Rewrite0 authored Aug 13, 2023
2 parents 915cb15 + 1ddb38f commit 3f99245
Show file tree
Hide file tree
Showing 13 changed files with 567 additions and 33 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ dist
dist.zip
dist-ssr
*.local
dev-dist

# Editor directories and files
.vscode/*
Expand Down
3 changes: 3 additions & 0 deletions webui/.neoconf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"volar": { "enable": true }
}
5 changes: 4 additions & 1 deletion webui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
<html lang="zh">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="noindex, nofollow" />
<meta name="theme-color" content="#ffffff" />
<link rel="icon" href="/images/logo.svg" />
<link rel="apple-touch-icon" href="/images/apple-touch-icon.png" />
<meta name="description" content="Automated Bangumi Download Tool" />
<title>Auto_Bangumi</title>
</head>
<body>
Expand Down
4 changes: 3 additions & 1 deletion webui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"preview": "vite preview",
"test": "vitest",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
"build-storybook": "storybook build",
"generate-pwa-assets": "pwa-assets-generator --preset minimal public/images/logo.svg"
},
"dependencies": {
"@headlessui/vue": "^1.7.13",
Expand Down Expand Up @@ -58,6 +59,7 @@
"unplugin-vue-components": "^0.24.1",
"unplugin-vue-router": "^0.6.4",
"vite": "^4.3.5",
"vite-plugin-pwa": "^0.16.4",
"vitest": "^0.30.1",
"vue-tsc": "^1.6.4"
}
Expand Down
Loading

0 comments on commit 3f99245

Please sign in to comment.