Explorar el Código

fix: client side issue

Alvaro hace 2 años
padre
commit
9195244ae9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/.vitepress/theme/index.ts

+ 1 - 1
docs/.vitepress/theme/index.ts

@@ -13,7 +13,7 @@ export default {
     ctx.app.component('StackBlitzEmbed', StackBlitzEmbed)
     ctx.app.component('StackBlitzEmbed', StackBlitzEmbed)
     /*  ctx.app.use(Tres)
     /*  ctx.app.use(Tres)
      */
      */
-    if (import.meta.env.SSR) {
+    if (!import.meta.env.SSR) {
       // ... server only logic
       // ... server only logic
       ctx.app.use(Tres)
       ctx.app.use(Tres)
     }
     }