Skip to content

Commit 33d4667

Browse files
committed
docs(quick-start): fix install snippet not rendering
vuepress build does not prerender code-blocks correctly. fixed by surrounding it with a ClientOnly block to force it to be rendered dynamically. See vuejs/vuepress#2711 fix #4
1 parent 2011f7b commit 33d4667

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/guide/quick-start.md

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Instead it is recommended to use a bundler, like [RollupJS](https://rollupjs.org
1313

1414
For both client and server:
1515

16+
<ClientOnly>
1617
<code-group>
1718
<code-block title="YARN">
1819
```bash
@@ -25,7 +26,9 @@ yarn add socketdb
2526
npm install socketdb
2627
```
2728
</code-block>
29+
2830
</code-group>
31+
</ClientOnly>
2932

3033
## Setup Server
3134

0 commit comments

Comments
 (0)