Skip to content

Commit 8b632f5

Browse files
authored
website: Fix vp create example. (#921)
1 parent c178721 commit 8b632f5

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

docs/.vitepress/theme/data/terminal-transcripts.ts

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,31 @@ export const terminalTranscripts: TerminalTranscript[] = [
2727
id: 'create',
2828
label: 'create',
2929
title: 'Scaffold a project',
30-
command: 'vp create acme-web --template react-ts',
30+
command: 'vp create',
3131
lineDelay: 220,
3232
completionDelay: 900,
3333
lines: [
3434
{
3535
segments: [
3636
{ text: '◇ ', tone: 'accent' },
37-
{ text: 'Scaffolded ', tone: 'muted' },
38-
{ text: 'acme-web', tone: 'brand' },
39-
{ text: ' with React + TypeScript', tone: 'muted' },
37+
{ text: 'Select a template ', tone: 'muted' },
38+
{ text: 'vite:application', tone: 'brand' },
39+
],
40+
},
41+
{
42+
segments: [
43+
{ text: '◇ ', tone: 'accent' },
44+
{ text: 'Project directory ', tone: 'muted' },
45+
{ text: 'vite-app', tone: 'brand' },
4046
],
4147
},
4248
{
4349
segments: [
4450
{ text: '• ', tone: 'muted' },
4551
{ text: 'Node ', tone: 'muted' },
46-
{ text: '22.15.1', tone: 'brand' },
52+
{ text: '24.14.0', tone: 'brand' },
4753
{ text: ' pnpm ', tone: 'muted' },
48-
{ text: '10.17.0', tone: 'accent' },
54+
{ text: '10.28.0', tone: 'accent' },
4955
],
5056
},
5157
{
@@ -59,7 +65,7 @@ export const terminalTranscripts: TerminalTranscript[] = [
5965
segments: [
6066
{ text: '→ ', tone: 'brand' },
6167
{ text: 'Next: ', tone: 'muted' },
62-
{ text: 'cd acme-web && vp dev', tone: 'accent' },
68+
{ text: 'cd vite-app && vp dev', tone: 'accent' },
6369
],
6470
},
6571
],

0 commit comments

Comments
 (0)