docs: use ANSI snippet instead of an `vitepress-init.png` (#2875)

pull/2880/head
0x009922 2 years ago committed by GitHub
parent 1705c179df
commit b0b3f5d46b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Loading…
Cancel
Save