kangqod-shared-ui
v0.1.4
Published
<br> npm 배포 테스트를 위한 저장소입니다.
Downloads
3
Readme
✨🎉 shared-ui
🚀 Features
- 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
💡 Prerequisites
- Vite requires Node.js version >=12.0.0.
⚡️ Installation
git clone https://github.com/kangqod/shared-ui.git
cd shared-ui
yarn or yarn install
📦 Directory structure
|-- example # 소스 예제 및 테스트
|-- src # 소스 디렉토리
| |-- styles # Theme
| |-- ui # UI Components (from antd)
📦 How to use the code
import { Button } from 'kangqod-shared-ui'
...
return (
<Button className="type1">
Button
</Button>
)
...
👉 Development
# Start the vite dev server
yarn dev
👉 Build
# Make a production bundle
yarn build
👉 Lint
yarn lint:fix
👉 Prettier
yarn prettier