소스 검색

fix: client side issue

Alvaro 2 년 전
부모
커밋
9195244ae9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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.use(Tres)
      */
-    if (import.meta.env.SSR) {
+    if (!import.meta.env.SSR) {
       // ... server only logic
       ctx.app.use(Tres)
     }