Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add installation instructions for bun #6315

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ $ npm install --save antd-mobile
$ yarn add antd-mobile
# or
$ pnpm add antd-mobile
# or
$ bun add antd-mobile
```

- **Fast**: It is carefully optimized for harsh scenes, without configuration, you can have the best package size and ultimate performance.
Expand Down
2 changes: 2 additions & 0 deletions docs/components/icon/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ npm install --save antd-mobile-icons
yarn add antd-mobile-icons
# or
pnpm add antd-mobile-icons
# or
bun add antd-mobile-icons
```

Then just import the icons you need from this package:
Expand Down
2 changes: 2 additions & 0 deletions docs/components/icon/index.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ npm install --save antd-mobile-icons
yarn add antd-mobile-icons
# or
pnpm add antd-mobile-icons
# or
bun add antd-mobile-icons
```

然后从这个包中引入你所需要的图标即可:
Expand Down
2 changes: 2 additions & 0 deletions docs/guide/quick-start.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ $ npm install --save antd-mobile
$ yarn add antd-mobile
# or
$ pnpm add antd-mobile
# or
$ bun add antd-mobile
```

## Import
Expand Down
2 changes: 2 additions & 0 deletions docs/guide/quick-start.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ $ npm install --save antd-mobile
$ yarn add antd-mobile
# or
$ pnpm add antd-mobile
# or
$ bun add antd-mobile
```

## 引入
Expand Down
2 changes: 2 additions & 0 deletions docs/guide/ssr.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ $ npm install --save-dev next-transpile-modules
$ yarn add -D next-transpile-modules
# or
$ pnpm add -D next-transpile-modules
# or
$ bun add -D next-transpile-modules
```

Then configure it in `next.config.js`:
Expand Down
2 changes: 2 additions & 0 deletions docs/guide/ssr.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ $ npm install --save-dev next-transpile-modules
$ yarn add -D next-transpile-modules
# or
$ pnpm add -D next-transpile-modules
# or
$ bun add -D next-transpile-modules
```

然后在 `next.config.js` 中进行配置:
Expand Down
Loading