Skip to content

Commit

Permalink
feat: 添加pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
btea committed Apr 16, 2022
1 parent a842f2c commit 9d81034
Show file tree
Hide file tree
Showing 8 changed files with 1,796 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>A list of links</title>
<script type="module" crossorigin src="./assets/index.f455feca.js"></script>
<link rel="stylesheet" href="./assets/index.84d5f2ba.css">
</head>
<link rel="manifest" href="./manifest.webmanifest"></head>
<body>
<div id="app"></div>

Expand Down
1 change: 1 addition & 0 deletions docs/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"vue-project","short_name":"vue-project","start_url":"./","display":"standalone","background_color":"#ffffff","lang":"en","scope":"./"}
1 change: 1 addition & 0 deletions docs/registerSW.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/sw.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/workbox-4ee7f24a.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"prettier": "^2.5.1",
"typescript": "~4.6.3",
"vite": "^2.9.1",
"vite-plugin-pwa": "^0.11.13",
"vitest": "^0.8.1",
"vue-tsc": "^0.33.9"
}
Expand Down
Loading

0 comments on commit 9d81034

Please sign in to comment.