mirror of
https://github.com/versia-pub/frontend.git
synced 2026-06-14 07:29:15 +02:00
refactor: ♻️ Disable SSR, always build as static
This commit is contained in:
parent
650d916062
commit
ca824a2a1a
3 changed files with 12 additions and 19 deletions
|
|
@ -9,6 +9,7 @@ export default defineNuxtConfig({
|
|||
"shadcn-nuxt",
|
||||
"@nuxtjs/color-mode",
|
||||
],
|
||||
ssr: false,
|
||||
vue: {
|
||||
compilerOptions: {
|
||||
isCustomElement: (tag) => tag === "iconify-icon",
|
||||
|
|
@ -240,7 +241,7 @@ export default defineNuxtConfig({
|
|||
keepalive: true,
|
||||
},
|
||||
nitro: {
|
||||
preset: "bun",
|
||||
preset: "static",
|
||||
minify: true,
|
||||
prerender: {
|
||||
failOnError: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue