Skip to content

DamienGilbrin/cra-template-typescript-storybook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cra-template-typescript-storybook

This template extends the Create React App TypeScript template with Storybook.

GETTING STARTED

To use this template, add --template typescript-storybook when creating a new app.

For example:

npx create-react-app my-app --template typescript-storybook

# or

yarn create react-app my-app --template typescript-storybook

USAGE

  • App and Component directory structure is the same as a standard create-react-app install
  • Stories are written in the src/stories directory (this can be changed in .storybook/main.js)

MORE INFO

Inspired by this Gist by one of the Storybook maintainers to quickly get Storybook Docs, Create React App, and TypeScript up and running. Basically, this template installs all those packages in a simple one-step process.

For more information, please refer to:

About

Extends the Create React App TypeScript template with Storybook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 70.2%
  • HTML 16.3%
  • CSS 8.8%
  • JavaScript 4.7%