Update nuxt.config
This commit is contained in:
parent
d1373fb94c
commit
1cae9689c5
|
@ -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: {},
|
||||
|
|
Loading…
Reference in New Issue
Block a user