Skip to content

Instantly share code, notes, and snippets.

@ndelangen
Last active December 22, 2017 06:55
Show Gist options
  • Save ndelangen/7772054109660e125b618a9d5bd85e8d to your computer and use it in GitHub Desktop.
Save ndelangen/7772054109660e125b618a9d5bd85e8d to your computer and use it in GitHub Desktop.
Markdown extension for placing React components

Add storybook dependencies

First of all, you need to add a few storybook packages to your project's package.json. To do that, simply run:

:::CodeSwitcher

npm i --save-dev @storybook/react @storybook/addons react react-dom
npm i --save-dev @storybook/react-native @storybook/addons react react-native
npm i --save-dev @storybook/vue @storybook/addons vue vue-loader vue-template-compiler
npm i --save-dev @storybook/angular @storybook/addons

:::

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment