Updated
This commit is contained in:
+27
-26
@@ -6,45 +6,45 @@ export default defineNuxtConfig({
|
|||||||
css: [
|
css: [
|
||||||
"~/assets/css/tailwind.css",
|
"~/assets/css/tailwind.css",
|
||||||
"swiper/css",
|
"swiper/css",
|
||||||
"animate.css/animate.min.css",
|
"animate.css/animate.min.css"
|
||||||
],
|
],
|
||||||
|
|
||||||
routeRules: {
|
routeRules: {
|
||||||
"/products": { prerender: false, ssr: false },
|
"/products": { prerender: false, ssr: false }
|
||||||
},
|
},
|
||||||
|
|
||||||
app: {
|
app: {
|
||||||
head: {
|
head: {
|
||||||
title: "فروشگاه هی ملز",
|
title: "فروشگاه هی ملز"
|
||||||
},
|
},
|
||||||
pageTransition: {
|
pageTransition: {
|
||||||
enterActiveClass:
|
enterActiveClass:
|
||||||
"animate__animated animate__fadeIn animate__faster",
|
"animate__animated animate__fadeIn animate__faster",
|
||||||
leaveActiveClass:
|
leaveActiveClass:
|
||||||
"animate__animated animate__fadeOut animate__faster",
|
"animate__animated animate__fadeOut animate__faster",
|
||||||
mode: "out-in",
|
mode: "out-in"
|
||||||
},
|
},
|
||||||
layoutTransition: {
|
layoutTransition: {
|
||||||
enterActiveClass:
|
enterActiveClass:
|
||||||
"animate__animated animate__fadeIn animate__faster",
|
"animate__animated animate__fadeIn animate__faster",
|
||||||
leaveActiveClass:
|
leaveActiveClass:
|
||||||
"animate__animated animate__fadeOut animate__faster",
|
"animate__animated animate__fadeOut animate__faster",
|
||||||
mode: "out-in",
|
mode: "out-in"
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
postcss: {
|
postcss: {
|
||||||
plugins: {
|
plugins: {
|
||||||
"@tailwindcss/postcss": {},
|
"@tailwindcss/postcss": {},
|
||||||
autoprefixer: {},
|
autoprefixer: {}
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
components: [
|
components: [
|
||||||
{
|
{
|
||||||
path: "~/components",
|
path: "~/components",
|
||||||
pathPrefix: false,
|
pathPrefix: false
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
icon: {
|
icon: {
|
||||||
@@ -52,9 +52,9 @@ export default defineNuxtConfig({
|
|||||||
customCollections: [
|
customCollections: [
|
||||||
{
|
{
|
||||||
prefix: "ci",
|
prefix: "ci",
|
||||||
dir: "./public/icons",
|
dir: "./public/icons"
|
||||||
},
|
}
|
||||||
],
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
@@ -65,15 +65,15 @@ export default defineNuxtConfig({
|
|||||||
"DM Sans": "100..900",
|
"DM Sans": "100..900",
|
||||||
Inter: "100..900",
|
Inter: "100..900",
|
||||||
download: true,
|
download: true,
|
||||||
inject: false,
|
inject: false
|
||||||
},
|
}
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
"@nuxt/icon",
|
"@nuxt/icon",
|
||||||
"reka-ui/nuxt",
|
"reka-ui/nuxt",
|
||||||
"@vueuse/nuxt",
|
"@vueuse/nuxt",
|
||||||
"@formkit/auto-animate/nuxt",
|
"@formkit/auto-animate/nuxt",
|
||||||
"@vite-pwa/nuxt",
|
"@vite-pwa/nuxt"
|
||||||
],
|
],
|
||||||
|
|
||||||
pwa: {
|
pwa: {
|
||||||
@@ -88,26 +88,27 @@ export default defineNuxtConfig({
|
|||||||
{
|
{
|
||||||
src: "/logo/logo-192x192.png",
|
src: "/logo/logo-192x192.png",
|
||||||
sizes: "192x192",
|
sizes: "192x192",
|
||||||
type: "image/png",
|
type: "image/png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: "/logo/logo-512x512.png",
|
src: "/logo/logo-512x512.png",
|
||||||
sizes: "512x512",
|
sizes: "512x512",
|
||||||
type: "image/png",
|
type: "image/png"
|
||||||
},
|
}
|
||||||
],
|
]
|
||||||
},
|
},
|
||||||
workbox: {
|
workbox: {
|
||||||
navigateFallback: "/",
|
navigateFallback: "/",
|
||||||
clientsClaim: true,
|
clientsClaim: true,
|
||||||
skipWaiting: true,
|
skipWaiting: true
|
||||||
},
|
},
|
||||||
devOptions: { enabled: true, type: "module" },
|
devOptions: { enabled: true, type: "module" }
|
||||||
},
|
},
|
||||||
|
|
||||||
runtimeConfig: {
|
runtimeConfig: {
|
||||||
public: {
|
public: {
|
||||||
API_BASE_URL: "https://api.heymlz.com",
|
API_BASE_URL: process.env.API_BASE_URL,
|
||||||
},
|
DEBUG: process.env.DEBUG
|
||||||
},
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user