Skip to content

sanv92/React-starter-kit-based-on-the-Atomic-Design-ARC

Repository files navigation

React starter kit based on the Atomic Design (ARC)

Project

Before start install development environment:

Project Install:

  • cd ~/{PROJECT_PATH}
  • nvm use
  • npm install

Project Run:

  • nvm use
  • npm run start

Project Build:

  • nvm use
  • npm run build

Storybook

Storybook Run

npm run dev:storybook

Storybook Build:

  • npm install
  • npm run build:storybook

How to create readme for "story component"

Example:

import { withReadme } from 'storybook-readme'
import Readme from './sidebar.readme.md'


stories
  .addDecorator(withReadme(Readme))
  .addWithJSX('Default', () => <Sidebar/>)

WebStorm