Skip to content

Commit 1ccf98c

Browse files
update create vue box (#2687)
1 parent d7a77fe commit 1ccf98c

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

src/guide/scaling-up/tooling.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<script setup>
2+
import { VTCodeGroup, VTCodeGroupTab } from '@vue/theme'
3+
</script>
4+
15
# Tooling {#tooling}
26

37
## Try It Online {#try-it-online}
@@ -21,7 +25,36 @@ It is also recommended to use these online playgrounds to provide reproductions
2125

2226
To get started with Vite + Vue, simply run:
2327

24-
<div class="language-sh"><pre><code><span class="line"><span style="color:var(--vt-c-green);">$</span> <span style="color:#A6ACCD;">npm create vue@latest</span></span></code></pre></div>
28+
<VTCodeGroup>
29+
<VTCodeGroupTab label="npm">
30+
31+
```sh
32+
$ npm create vue@latest
33+
```
34+
35+
</VTCodeGroupTab>
36+
<VTCodeGroupTab label="pnpm">
37+
38+
```sh
39+
$ pnpm create vue@latest
40+
```
41+
42+
</VTCodeGroupTab>
43+
<VTCodeGroupTab label="yarn">
44+
45+
```sh
46+
$ yarn create vue@latest
47+
```
48+
49+
</VTCodeGroupTab>
50+
<VTCodeGroupTab label="bun">
51+
52+
```sh
53+
$ bun create vue@latest
54+
```
55+
56+
</VTCodeGroupTab>
57+
</VTCodeGroup>
2558

2659
This command will install and execute [create-vue](https://github.com/vuejs/create-vue), the official Vue project scaffolding tool.
2760

0 commit comments

Comments
 (0)