Skip to content

Commit

Permalink
docs: use ANSI snippet instead of an vitepress-init.png (#2875)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x009922 committed Aug 30, 2023
1 parent 1705c17 commit b0b3f5d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions docs/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,24 @@ $ pnpm dlx vitepress init

You will be greeted with a few simple questions:

<p>
<img src="./vitepress-init.png" alt="vitepress init screenshot" style="border-radius:8px">
</p>
```ansi
┌  Welcome to VitePress!
│
◇ Where should VitePress initialize the config?
│ ./docs
│
◇ Site title:
│ My Awesome Project
│
◇ Site description:
│ A VitePress Site
│
◆ Theme:
│ ● Default Theme (Out of the box, good-looking docs)
│ ○ Default Theme + Customization
│ ○ Custom Theme
└
```

::: tip Vue as Peer Dependency
If you intend to perform customization that uses Vue components or APIs, you should also explicitly install `vue` as a peer dependency.
Expand Down
Binary file removed docs/guide/vitepress-init.png
Binary file not shown.

0 comments on commit b0b3f5d

Please sign in to comment.