Skip to content

✨ [Feature]: 使用useNamespace方法将组件样式命名重构成BEM风格 #660

@kagol

Description

@kagol

What problem does this feature solve

目前的组件class命名不符合规范,需要统一成BEM风格。

可以参考下这个文档:
https://github.com/DevCloudFE/vue-devui/wiki/Vue-DevUI-%E7%BB%84%E4%BB%B6%E5%BA%93%E8%A7%84%E8%8C%83%E6%96%87%E6%A1%A3#6-%E6%A0%B7%E5%BC%8F%E5%91%BD%E5%90%8D%E8%A7%84%E8%8C%83

What does the proposed API look like

具体重构方法可以参考以下文档和现有已经重构好的组件,比如Button、Modal等。

可以参考下这个文档:
https://github.com/DevCloudFE/vue-devui/wiki/Vue-DevUI-%E7%BB%84%E4%BB%B6%E5%BA%93%E8%A7%84%E8%8C%83%E6%96%87%E6%A1%A3#6-%E6%A0%B7%E5%BC%8F%E5%91%BD%E5%90%8D%E8%A7%84%E8%8C%83

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions