Update nuxt.config

This commit is contained in:
mustafa-rezae 2025-03-06 16:31:07 +03:30
parent d1373fb94c
commit 1cae9689c5

View File

@ -154,6 +154,9 @@ export default defineNuxtConfig({
nitro: {
compressPublicAssets: true,
prerender: {
routes: ["/haditha/about-us", "/haditha/contact"], // Pre-render these routes
},
},
colorMode: {
@ -200,7 +203,10 @@ export default defineNuxtConfig({
customCollections: [
{
prefix: "haditha",
dir: `./systems/${buildName}_ui/assets/${buildName}/font-icons`,
dir: `./systems/${buildName.substring(
0,
buildName.length - 1
)}_ui/assets/${buildName}/font-icons`,
},
],
},
@ -288,6 +294,10 @@ export default defineNuxtConfig({
},
},
},
build: {
analyze: true,
// transpile: ["echarts", "resize-detector", "echarts-wordcloud"],
},
// postcss: {
// plugins: {
// tailwindcss: {},