Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
Clone repo
or Creating a repository from the template
On GitHub, navigate to the main page of the repository. Above the file list, click Use this template button.
Install Yarn, for more options see https://legacy.yarnpkg.com/en/docs/install#mac-stable
Install Dependencies. This project is using Workspaces. Yarn will install dependencies for all the packages. Make sure your node version is >=13.2.0
.
Build & Run Storybook
Storybook is now running at http://localhost:6006/
!
This project is using Workspaces and has two packages:
The component library bootstrapped using TSDX. TSDX is a zero-config CLI that helps you develop, test and publish TypeScript packages. It handles all the configuration and set up for:
A Sample Application bootstrapped using Create React App. It includes a kitchen sink of all components in the component library. The goal of the sample app is to test the consumption of the component library and test server side-rendering using react-snapshot.
Run Sample App
Build and Test SSR
The app
package is meant to be disposable and can be replaced by your app. Alternatively, you could copy the ds
package into an existing monorepo.
Continuous integration is a practice that encourages developers to integrate their code into a master branch of a shared repository early and often. Instead of building out features in isolation and integrating them at the end of a development cycle, code is integrated with the shared repository by each developer multiple times throughout the day. — Introduction to CircleCI
The project is configured to do the following:
The Chromatic task reads the CHROMATIC_APP_CODE
environment variable, which must be configured in your CircleCI dashboard.