React component library build with Tailwind CSS, twin.macro and stitches.
git clone [email protected]:missionx-co/cube.git
yarn
or npm install
.At this point conists of three packages:
@cube-ui/docs
at packages > docs
.@cube-ui/components
at packages > components
.@cube-ui/foundation
at packages > foundation
yarn build
to build the foundation package and the components packages.yarn docs:watch
to start the next.js server.yarn foundation:build
. this command will build the foundation packages, For now you have to quit from this command manually.yarn components:types
, this will transpile TypeScript code and build the ts declaration files. You should NOT quit from this command.yarn components:watch
this will transpile TypeScript React components and build the components library.yarn docs:watch
this will start the docs development server.