Skip to content

Commit

Permalink
docs(guide): add reason for maintain component library
Browse files Browse the repository at this point in the history
  • Loading branch information
litingyes committed Oct 8, 2024
1 parent 5e54008 commit 2415778
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/en-US/guide/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@

- For front-end developers who like to participate in open source and develop their own WEB, an easy-to-use, convenient UI library that can cover most development scenarios can greatly improve development efficiency
- There are many front-end frameworks at present, such as [Vue.js](https://vuejs.org/) and [React](https://react.dev/), but there is no simple, beautiful and universal style.

## Why maintain component library for UI frameworks ?

- In some complex UIs, using pure HTML would be very cumbersome. Using the component encapsulation of the UI framework can make the code more concise.
- In some complex interactive logic, pure HTML + CSS cannot meet the requirements well, and cannot fully utilize some optimization features of the UI framework.
5 changes: 5 additions & 0 deletions docs/zh-CN/guide/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@

- 对于喜欢参与开源和开发自己的 WEB 的前端开发来说,有一个易用、好用、能覆盖绝大多数开发场景的 UI 库能大大提高开发效率
- 当前前端框架很多,[Vue.js](https://cn.vuejs.org/)[React](https://zh-hans.react.dev/) 等各领风骚,但是没有一个简洁、美观且通用的样式风格

## 为什么要针对 UI 框架再维护一套组件库 ?

- 在一些复杂的 UI 中,如果用纯粹的 HTML 会非常的繁琐,利用 UI 框架的组件封装可以使代码更加简洁
- 在一些复杂的交互逻辑中,单纯的 HTML + CSS 并不能很好的实现需求,且不能够充分利用 UI 框架的一些优化特性

0 comments on commit 2415778

Please sign in to comment.