Skip to content

Commit

Permalink
docs: use code-group for install commands (#2571)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxKylin authored Dec 19, 2024
1 parent 96ef276 commit 44f9a6f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
9 changes: 7 additions & 2 deletions docs/fr/installation/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# Installation

```bash
::: code-group

```shell [npm]
npm install --save-dev @vue/test-utils
```

# or
```shell [yarn]
yarn add --dev @vue/test-utils
```

:::

## Utilisation

Vue Test Utils est un outil indépendant de tout framework - vous pouvez l'utiliser avec le gestionnaire de tests de votre choix. La manière la plus simple pour l'essayer est d'utiliser [Jest](https://jestjs.io/), un gestionnaire de tests populaire.
Expand Down
9 changes: 7 additions & 2 deletions docs/installation/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# Installation

```bash
::: code-group

```shell [npm]
npm install --save-dev @vue/test-utils
```

# or
```shell [yarn]
yarn add --dev @vue/test-utils
```

:::

## Usage

Vue Test Utils is framework agnostic - you can use it with whichever test runner you like. The easiest way to try it out is using [Jest](https://jestjs.io/), a popular test runner.
Expand Down
9 changes: 7 additions & 2 deletions docs/zh/installation/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# 安装

```bash
::: code-group

```shell [npm]
npm install --save-dev @vue/test-utils
```

# or
```shell [yarn]
yarn add --dev @vue/test-utils
```

:::

## 用法

Vue Test Utils 是与框架无关的 - 你可以与任何你喜欢的测试运行器一起使用。最简单的尝试方式是使用 [Jest](https://jestjs.io/),这是一个流行的测试运行器。
Expand Down

0 comments on commit 44f9a6f

Please sign in to comment.