This commit is contained in:
marzban-dev
2025-05-06 23:14:39 +03:30
7 changed files with 5 additions and 7 deletions
+5 -7
View File
@@ -3,11 +3,7 @@ export default defineNuxtConfig({
compatibilityDate: "2024-11-01",
ssr: true,
devtools: { enabled: true },
css: [
"~/assets/css/tailwind.css",
"swiper/css",
"animate.css/animate.min.css",
],
css: ["~/assets/css/tailwind.css", "swiper/css", "animate.css/animate.min.css"],
routeRules: {
"/products": { prerender: false, ssr: false },
@@ -77,8 +73,7 @@ export default defineNuxtConfig({
strategies: "injectManifest",
srcDir: "public",
filename: "sw.js",
registerType:
process.env.NODE_ENV === "production" ? "autoUpdate" : "prompt",
registerType: process.env.NODE_ENV === "production" ? "autoUpdate" : "prompt",
manifest: {
name: "Heymlz",
short_name: "Heymlz",
@@ -88,14 +83,17 @@ export default defineNuxtConfig({
src: "/logo/logo-192x192.png",
sizes: "192x192",
type: "image/png",
purpose: "any",
},
{
src: "/logo/logo-512x512.png",
sizes: "512x512",
type: "image/png",
purpose: "any",
},
],
},
workbox: {
navigateFallback: "/",
clientsClaim: true,
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB