
安利一个自己写的组件库,欢迎大家指正,star 来者不拒,pr 也多多益善!
Yoshino 本质上类似于 Hexo,不同的主题组件类似于 Hexo 的各种 theme,hexo 官方仅提供了一套工具以及一个基础主题,Yoshino 也是如此。
开发者只需要结合yoshino-cli就能像配置 Hexo 主题一样输出不同风格的组件。
而不同主题的 Yoshino 需要开源社区完成,官方提供类似的yoshino-theme-site来展示不同的主题,类似于hexojs/site
TypeScript开发,提供d.ts文件帮助开发者提高开发速度ui组件,yoshino抽离出了一些易用性比较高的特效(功能)组件,例如 npm install yoshino import * as React from 'react'; import { Button } from 'yoshino'; export default function () { return ( <div> <Button type="primary">Primary</Button> <Button>Default</Button> <Button type="dashed">Dashed</Button> <Button type="danger">Danger</Button> </div> ) }