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

如何在 common-ui 里面使用 Tag 组件? #5288

Closed
3 tasks done
zuihou opened this issue Jan 2, 2025 · 1 comment
Closed
3 tasks done

如何在 common-ui 里面使用 Tag 组件? #5288

zuihou opened this issue Jan 2, 2025 · 1 comment

Comments

@zuihou
Copy link

zuihou commented Jan 2, 2025

Version

Vben Admin V5

Description

  1. 请问项目使用的是 radix-vue 还是 shadcn-vue?
  2. 请问如何在 ui-kit/shadcn-ui 下面创建新的组件?
  3. 请问如何在-common-ui/workbench-project.vue 下使用 tag 组件

Proposed Solution

Alternatives Considered

No response

Additional Context

No response

Validations

  • Read the docs
  • Ensure the code is up to date. (Some issues have been fixed in the latest version)
  • I have searched the existing issues and checked that my issue does not duplicate any existing issues.
@mynetfan
Copy link
Collaborator

mynetfan commented Jan 9, 2025

1、shadcn-vue 基于 radix-vue,项目使用的shadcn-vue
2、查阅shadcn-vue的文档
3、若要使用shadcn-ui以外的组件,拷贝这个workbench-project.vue到view下修改,不必使用common-ui里的原组件。这里只是抽离出来用在了element plus、antd、naive多个应用中从而避免多次写同一个组件而已,你自己使用的话就无需这样处理。

@mynetfan mynetfan closed this as completed Jan 9, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants