Просмотр исходного кода

Merge pull request #40 from Tresjs/feature/19-docs-for-core-composables

fix: client side issue
Alvaro Saburido 2 лет назад
Родитель
Сommit
f092fcad47
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)
     }