mirror of
https://github.com/versia-pub/frontend.git
synced 2026-06-14 07:29:15 +02:00
perf: ⚡ Performance work, add PWA
This commit is contained in:
parent
7d07e639c8
commit
6e8f4ae8e1
19 changed files with 76 additions and 45 deletions
|
|
@ -10,7 +10,19 @@ export default defineNuxtConfig({
|
|||
//"nuxt-shiki",
|
||||
"@vee-validate/nuxt",
|
||||
"nuxt-security",
|
||||
"@vite-pwa/nuxt",
|
||||
],
|
||||
pwa: {
|
||||
manifest: {
|
||||
name: "Lysand",
|
||||
short_name: "Lysand",
|
||||
description: "Frontend for the Lysand social network",
|
||||
theme_color: "#f9a8d4",
|
||||
display: "standalone",
|
||||
lang: "en",
|
||||
categories: ["social", "development"],
|
||||
},
|
||||
},
|
||||
security: {
|
||||
headers: {
|
||||
// Nuxt DevTools
|
||||
|
|
@ -41,6 +53,11 @@ export default defineNuxtConfig({
|
|||
href: "/favicon.png",
|
||||
type: "image/png",
|
||||
},
|
||||
{
|
||||
rel: "apple-touch-icon",
|
||||
href: "/favicon.png",
|
||||
type: "image/png",
|
||||
},
|
||||
],
|
||||
htmlAttrs: { lang: "en-us" },
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue