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

docs(icon): fix installation instructions #3318

Merged
merged 1 commit into from
Sep 13, 2024
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
6 changes: 3 additions & 3 deletions src/icon/icon.en-US.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
:: BASE_DOC ::

### Install tdesign-icons-vue-next
### Install tdesign-icons-vue

Icons are published and managed as a separate npm package. If you want to use it directly in your project, please install `tdesign-icons-vue-next`. At the same time, `tdesign-vue-next` also includes icons and supports direct use through `t-icon`.
Icons are published and managed as a separate npm package. If you want to use it directly in your project, please install `tdesign-icons-vue`. At the same time, `tdesign-vue` also includes icons and supports direct use through `t-icon`.

### Import on-demand

Expand Down Expand Up @@ -50,7 +50,7 @@ If you need to select icons in your project, please use `Select` to implement an

#### How to get all the names of icons?

You can get all the name of icon by import manifest from the bundle `import { manifest } from 'tdesign-icons-vue-next'`
You can get all the name of icon by import manifest from the bundle `import { manifest } from 'tdesign-icons-vue'`

#### the usage of full import needs network. What if my project is in a no-network scenario?

Expand Down
2 changes: 1 addition & 1 deletion src/icon/icon.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ TDesign 支持通过使用 Iconfont 图标,使用时需要单独引入 Iconfon

#### 如何获取全部图标的名称列表?

可以通过`import { manifest } from 'tdesign-icons-vue-next'` 获取全部图标的名称列表。
可以通过`import { manifest } from 'tdesign-icons-vue'` 获取全部图标的名称列表。

### t-icon、iconfont和icon使用时都会发起网络请求,我的项目是无网络场景,如何使用?

Expand Down
Loading