Skip to content

capgemini-stavanger/cap-dscl

Repository files navigation

A design system and component library

This repro has been started to create a component library, to be documented in a storybook, and to add guidelines for a design system.

This react project is created using

yarn create vite NAME --template react-ts

When Visual Studio Code is started using

code .

Vite will automatically start and open up in a vsc window:

Vite + React




To start the storybook and open it on localhost, run:

yarn storybook

Storybook intropage

Hosting on GitHub pages

Using this tool

https://github.com/storybookjs/storybook-deployer

Then simply runnging

npm run deploy-storybook

The storybook is now available at:

https://capgemini-stavanger.github.io/cap-dscl/