diff --git a/apps/www/.vitepress/theme/components/BlockPage.vue b/apps/www/.vitepress/theme/components/BlockPage.vue new file mode 100644 index 00000000..69e58caa --- /dev/null +++ b/apps/www/.vitepress/theme/components/BlockPage.vue @@ -0,0 +1,12 @@ + + + diff --git a/apps/www/.vitepress/theme/components/BlockPreview.vue b/apps/www/.vitepress/theme/components/BlockPreview.vue index 10352231..c1f6edc1 100644 --- a/apps/www/.vitepress/theme/components/BlockPreview.vue +++ b/apps/www/.vitepress/theme/components/BlockPreview.vue @@ -7,7 +7,6 @@ import MagicString from 'magic-string' import { cssVariables } from '../config/shiki' import StyleSwitcher from './StyleSwitcher.vue' import Spinner from './Spinner.vue' -import ComponentLoader from './ComponentLoader.vue' import { useConfigStore } from '@/stores/config' // import { BlockCopyCodeButton } from '@/components/block-copy-code-button' @@ -26,7 +25,10 @@ const props = defineProps<{ const { style, codeConfig } = useConfigStore() +const isLoading = ref(true) +const tabValue = ref('preview') const resizableRef = ref>() + const rawString = ref('') const codeHtml = ref('') const metadata = reactive({ @@ -90,10 +92,10 @@ watch([style, codeConfig], async () => {