Skip to content

Commit

Permalink
feat: update vitePWA plugin config file and add an icon
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechmarek committed May 18, 2023
1 parent b71c6e3 commit 4f2c3ff
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Binary file added public/list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 14 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,20 @@ export default defineConfig({
plugins: [
react(),
VitePWA({
registerType: 'autoUpdate',
includeAssets: [''],
manifest: {
name: 'Todo List',
short_name: 'MyApp',
description: 'Multi UI design todo list for your daily life',
theme_color: '#ffffff',
icons: [
{
src: 'list.png',
sizes: '256x256',
type: 'image/png',
},
],
},
}),
],
});

0 comments on commit 4f2c3ff

Please sign in to comment.