Skip to content

Commit

Permalink
docs: fix install script groups
Browse files Browse the repository at this point in the history
  • Loading branch information
prazdevs committed Nov 3, 2024
1 parent 76df472 commit 2bd0f25
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion docs/frameworks/nuxt.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ The `pinia-plugin-persistedstate` package comes with a Nuxt module to offer an S
## Installation

1. Install the dependency with your favorite package manager:
::: code-group

::: code-group

```sh [pnpm]
pnpm add pinia-plugin-persistedstate
Expand Down
3 changes: 2 additions & 1 deletion docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ This plugin is compatible with `pinia>=2.0.0`, make sure you have [Pinia install
## Installation

1. Install the dependency with your favorite package manager:
::: code-group

::: code-group

```sh [pnpm]
pnpm add pinia-plugin-persistedstate
Expand Down
3 changes: 2 additions & 1 deletion docs/zh/frameworks/nuxt.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
## 安装

1. 使用你喜欢的包管理器安装依赖项:
::: code-group

::: code-group

```sh [pnpm]
pnpm add pinia-plugin-persistedstate
Expand Down
3 changes: 2 additions & 1 deletion docs/zh/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
## 安装

1. 用您喜欢的软件包管理器安装依赖项:
::: code-group

::: code-group

```sh [pnpm]
pnpm add pinia-plugin-persistedstate
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"vue-tsc": "^2.1.10"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
Expand Down

0 comments on commit 2bd0f25

Please sign in to comment.