Skip to content

Commit

Permalink
docs(vitepress): missing installation
Browse files Browse the repository at this point in the history
  • Loading branch information
07akioni committed May 5, 2024
1 parent aab6076 commit fa205e9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions demo/pages/docs/vitepress/enUS/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ You can directly use the demo.

If you want to build your own demo from scratch, follow the next steps:

### 0. Install `@css-render/vue3-ssr`

Make sure its version `>=0.15.14`.

```bash
# npm
npm install --save-dev @css-render/vue3-ssr

# pnpm
pnpm install --save-dev @css-render/vue3-ssr
```

### 1. Add this content to `.vitepress/theme/index.js`

```js
Expand Down
12 changes: 12 additions & 0 deletions demo/pages/docs/vitepress/zhCN/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@

如果你希望从头开始改造一个 vitepress 项目,遵循下列步骤

### 0. 安装 `@css-render/vue3-ssr`

确保其版本 `>=0.15.14`

```bash
# npm
npm install --save-dev @css-render/vue3-ssr

# pnpm
pnpm install --save-dev @css-render/vue3-ssr
```

### 1. 把下面的内容增加到 `.vitepress/theme/index.js`

```js
Expand Down

0 comments on commit fa205e9

Please sign in to comment.