File tree 3 files changed +10
-14
lines changed
3 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 1
1
<Suspense >
2
2
<DemoRender :component =" component " />
3
+
4
+ <template #fallback>
5
+ Loading demo...
6
+ </template >
3
7
</Suspense >
4
8
5
- <ClientOnly >
6
- <div :style =" { margin: '16px 0' } " >
7
- <PlaygroundLink :component="component" />
8
- </div >
9
- </ClientOnly >
9
+ <div :style =" { margin: '16px 0' } " >
10
+ <PlaygroundLink :component =" component " />
11
+ </div >
10
12
11
13
::: details {{i18n.showCode}}
12
- <ClientOnly >
13
- <div v-html =" sourceCode.markdown " ></div >
14
- </ClientOnly >
14
+ <div v-html =" sourceCode.markdown " ></div >
15
15
:::
16
16
17
17
<script setup lang =" ts " >
Original file line number Diff line number Diff line change 2
2
3
3
## Try It Online {#try-it-online}
4
4
5
- <ClientOnly >
6
- <div >Refer to <PlaygroundLink component =" DataDisplay " text =" Playground " /> to try it online</div >
7
- </ClientOnly >
5
+ <div >Refer to <PlaygroundLink component =" DataDisplay " text =" Playground " /> to try it online</div >
8
6
9
7
## Install {#install}
10
8
Original file line number Diff line number Diff line change 2
2
3
3
## 在线尝试 {#try-it-online}
4
4
5
- <ClientOnly >
6
- <div >前往 <PlaygroundLink component =" DataDisplay " text =" Playground " /> 在线尝试</div >
7
- </ClientOnly >
5
+ <div >前往 <PlaygroundLink component =" DataDisplay " text =" Playground " /> 在线尝试</div >
8
6
9
7
## 安装 {#install}
10
8
You can’t perform that action at this time.
0 commit comments