/clair

A design system including principles, Vue and React components.

Primary LanguageTypeScript

Clair Design

Prerequirements

yarn is required. Just forget npm run.

Before getting started

Check out how to contribute here.

Get Started

Install

yarn

Start

# for vue
yarn start vue
# for react
yarn start react

Preview Site

# for vue
yarn serve vue
# for react
yarn serve react

⚠️⚠️⚠️ Commit

Please use yarn commit or npm run commit instead of git commit.

Use git cz if you have commitizen installed globally.

Lerna

Run yarn commands

yarn lerna run --stream build --scope @clair/helpers
# OR
yarn workspace @clair/helpers build

Link packages

yarn lerna add @clair/theme-default packages/helpers [--dev]