configure PWA blog
This commit is contained in:
@@ -4,5 +4,35 @@ import pwa from "@islands/pwa"
|
|||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
siteUrl: "https://juliencalixte.eu",
|
siteUrl: "https://juliencalixte.eu",
|
||||||
modules: ["@islands/headings", prism(), pwa()],
|
modules: [
|
||||||
|
"@islands/headings",
|
||||||
|
prism(),
|
||||||
|
pwa({
|
||||||
|
includeAssets: ["favicon.ico", "apple-touch-icon.png", "masked-icon.svg"],
|
||||||
|
manifest: {
|
||||||
|
name: "Julien Calixte",
|
||||||
|
short_name: "julienc",
|
||||||
|
description: "Julien Calixte's blog",
|
||||||
|
theme_color: "#fda7df",
|
||||||
|
icons: [
|
||||||
|
{
|
||||||
|
src: "pwa-192x192.png",
|
||||||
|
sizes: "192x192",
|
||||||
|
type: "image/png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: "pwa-512x512.png",
|
||||||
|
sizes: "512x512",
|
||||||
|
type: "image/png",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: "pwa-512x512.png",
|
||||||
|
sizes: "512x512",
|
||||||
|
type: "image/png",
|
||||||
|
purpose: "any maskable",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
],
|
||||||
})
|
})
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
BIN
public/pwa-192x192.png
Normal file
BIN
public/pwa-192x192.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.5 KiB |
BIN
public/pwa-512x512.png
Normal file
BIN
public/pwa-512x512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
Reference in New Issue
Block a user