refactor(docs): show repl import map and tsconfig opts
This commit is contained in:
@@ -79,7 +79,7 @@ store.setImportMap({
|
|||||||
|
|
||||||
const sfcOptions = {
|
const sfcOptions = {
|
||||||
script: {
|
script: {
|
||||||
reactivityTransform: true,
|
propsDestructure: true,
|
||||||
},
|
},
|
||||||
} as SFCOptions
|
} as SFCOptions
|
||||||
</script>
|
</script>
|
||||||
@@ -89,8 +89,6 @@ const sfcOptions = {
|
|||||||
:editor="CodeMirror"
|
:editor="CodeMirror"
|
||||||
:store="store"
|
:store="store"
|
||||||
:show-compile-output="false"
|
:show-compile-output="false"
|
||||||
:show-import-map="false"
|
|
||||||
:show-ts-config="false"
|
|
||||||
:sfc-options="sfcOptions"
|
:sfc-options="sfcOptions"
|
||||||
:ssr="false"
|
:ssr="false"
|
||||||
@keydown.ctrl.s.prevent
|
@keydown.ctrl.s.prevent
|
||||||
@@ -104,6 +102,7 @@ const sfcOptions = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.vue-repl {
|
.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);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user