Skip to content

Commit

Permalink
Merge pull request #1 from yanglee2421/master
Browse files Browse the repository at this point in the history
chore: update readme
  • Loading branch information
yanglee2421 authored Jan 24, 2024
2 parents 328d427 + 027a6a7 commit 59f500a
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,22 @@
- 依次在 powershell 命令行执行如下:

```powershell
# desktop/
mkdir my-docs
cd my-docs
# desktop/my-docs
yarn init -y
yarn add -D vitepress vue
pnpm add -D vitepress vue
mkdir docs
cd docs
# desktop/my-docs/docs
new-item index.md
cd ../
# desktop/my-docs
yarn vitepress dev docs
pnpm exec vitepress dev docs
```

## cli

```powershell
yarn vitepress dev docs
yarn vitepress build docs
yarn vitepress preview docs
vitepress dev docs
vitepress build docs
vitepress preview docs
```

## config
Expand Down

0 comments on commit 59f500a

Please sign in to comment.