aisz.dev

快速开始

pnpm i musae

All components are available in this one package for ease of dependency management.

如何使用

import { Button } from 'musae'

const App = () => {
  return <Button>使用 musae</Button>
}

export default App

内置 Icons

import { Button } from 'musae'
import { Github } from 'musae/icons'

const App = () => {
  return (
    <Button shape='circular' variant='text'>
      <Github />
    </Button>
  )
}

export default App

0 配置支持按需加载

musae组件包编译阶段,使用rollup创建ESModule产物,天然支持treeshaking 如果开发者有兴趣,可以查阅Github查看根目录下的rollup.config.js配置文件