npm 배포 테스트를 위한 저장소입니다.
- Language: typescript
- Code linter: eslint
- Code format: prettier
- Git commit linter: husky + lint-staged
- UI framework: ant design
- CSS in JS: styled-components
- Export "es, cjs" format using rollup
- Vite requires Node.js version >=12.0.0.
git clone https://github.com/kangqod/shared-ui.git
cd shared-ui
yarn or yarn install|-- example # 소스 예제 및 테스트
|-- src # 소스 디렉토리
| |-- styles # Theme
| |-- ui # UI Components (from antd)import { Button } from 'kangqod-shared-ui'
...
return (
<Button className="type1">
Button
</Button>
)
...# Start the vite dev server
yarn dev# Make a production bundle
yarn buildyarn lint:fixyarn prettier