Skip to content

Library of reusable components utilized internally at McMakler GmbH

License

Notifications You must be signed in to change notification settings

mcmakler/components

Repository files navigation

McMakler Living Design System


Getting started

This is a monorepo and managed with lerna. Clone the repository

git clone https://github.com/mcmakler/components.git
cd components

Setup the dependencies

First install devDependencies

yarn

Then install all NPM packages for every library inside the packages folder and link them together. We're able to do this through lerna.

yarn bootstrap && yarn build

Run the Storybook based demo of the components

The package react-components contains Storybook as a demo.

cd packages/components-react
npm run serve

How to create new reusable components

All styling shall be independently usable from the react components themselves. To enable independent usage in static projects that are not able to use react. All styles of a component go to design-guide while the reusable react component shall life in the react-components package.