-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed production and started pwa support
- Loading branch information
1 parent
eda1fb9
commit 73ae016
Showing
5 changed files
with
42 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# https://www.robotstxt.org/robotstxt.html | ||
User-agent: * | ||
Disallow: | ||
Allow: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import {ManifestOptions} from "vite-plugin-pwa"; | ||
|
||
const manifestConfig : Partial<ManifestOptions> = { | ||
name: 'NoteSpace', | ||
short_name: 'NoteSpace', | ||
description: 'A multiplatform note management and sharing app', | ||
theme_color: '#ffffff', | ||
icons: [ | ||
{ | ||
src: '/assets/icon.png', | ||
sizes: '192x192', | ||
type: 'image/png', | ||
}, | ||
{ | ||
src: '/assets/icon.png', | ||
sizes: '512x512', | ||
type: 'image/png', | ||
}, | ||
], | ||
} | ||
|
||
export default manifestConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import {VitePWAOptions} from "vite-plugin-pwa"; | ||
//import manifestConfig from "./manifest-config"; | ||
|
||
const pwaConfig : Partial<VitePWAOptions> = { | ||
registerType: 'autoUpdate', | ||
//manifest: manifestConfig, | ||
//devOptions: { | ||
// enabled: true, | ||
//} | ||
} | ||
export default pwaConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters