chore: fix build
This commit is contained in:
parent
99c5f9f7df
commit
69bab32fc6
|
|
@ -12,6 +12,10 @@ const props = defineProps<{
|
||||||
const isLoading = ref(true)
|
const isLoading = ref(true)
|
||||||
|
|
||||||
const iframeURL = computed(() => {
|
const iframeURL = computed(() => {
|
||||||
|
// @ts-expect-error env available in import.meta
|
||||||
|
if (import.meta.env.SSR)
|
||||||
|
return ''
|
||||||
|
|
||||||
const url = new URL(`${window.location.origin}/blocks/renderer`)
|
const url = new URL(`${window.location.origin}/blocks/renderer`)
|
||||||
Object.entries(props).forEach(([key, value]) => {
|
Object.entries(props).forEach(([key, value]) => {
|
||||||
if (value)
|
if (value)
|
||||||
|
|
|
||||||
|
|
@ -4,3 +4,9 @@ description: A composable, themeable and customizable sidebar component.
|
||||||
---
|
---
|
||||||
|
|
||||||
<BlockPreview name="Sidebar07" ></BlockPreview>
|
<BlockPreview name="Sidebar07" ></BlockPreview>
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npx shadcn-vue@latest add sidebar
|
||||||
|
```
|
||||||
|
|
|
||||||
1750
pnpm-lock.yaml
1750
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user