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

文档里组件命名不统一 #984

Open
ottomao opened this issue Dec 14, 2023 · 1 comment
Open

文档里组件命名不统一 #984

ottomao opened this issue Dec 14, 2023 · 1 comment
Assignees

Comments

@ottomao
Copy link
Collaborator

ottomao commented Dec 14, 2023

用户反馈:

建议官网组件引用的时候命名统一下,比如以前官网按钮,命名都直接用button,现在是ant-button,而其它示例还是button,而且其它组件一部分有前缀一部分又没有。有时候为了方便复制官网,一不注意就容易在项目里出现多个命名。

@mustars
Copy link

mustars commented Dec 15, 2023

建议组件名前缀使用a-。因为阿里小程序判断、循环等语法是a:开头。ant-vue组件也全是a-开头。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants