From 6f33a3b50e8a085f967b1f3b86d2b24677575edc Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Sat, 3 Feb 2024 22:45:25 +0100 Subject: [PATCH] refactor(docs): show repl import map and tsconfig opts --- docs/components/DocsRepl.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/components/DocsRepl.vue b/docs/components/DocsRepl.vue index f0e9656e..d0167f20 100644 --- a/docs/components/DocsRepl.vue +++ b/docs/components/DocsRepl.vue @@ -79,7 +79,7 @@ store.setImportMap({ const sfcOptions = { script: { - reactivityTransform: true, + propsDestructure: true, }, } as SFCOptions @@ -89,8 +89,6 @@ const sfcOptions = { :editor="CodeMirror" :store="store" :show-compile-output="false" - :show-import-map="false" - :show-ts-config="false" :sfc-options="sfcOptions" :ssr="false" @keydown.ctrl.s.prevent @@ -104,6 +102,7 @@ const sfcOptions = { } .vue-repl { - @apply h-screen rounded-lg border-1 border-solid dark:border-gray-200/10 border-gray-200; + @apply border-1 border-solid dark:border-gray-200/10 border-gray-200; + height: calc(100vh - var(--vp-nav-height) - 0.5rem); }