Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
saltycrane committed Apr 6, 2020
1 parent 594f784 commit 3e3c0d3
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
# next-storybook-example
# next-storybook-typescript-example

## Usage
## Development usage

```
$ npm install
$ npm run dev
$ npm run storybook
```

Go to http://localhost:3000 in the browser
Browser window should automatically open.

## Static export

```
$ npm install
$ npm run build-storybook
```

## References
- [Storybook React setup](https://storybook.js.org/docs/guides/guide-react/)
- [Export Storybook as a Static App](https://storybook.js.org/docs/basics/exporting-storybook/)
- [TypeScript Config docs](https://storybook.js.org/docs/configurations/typescript-config/)
- [Storybook TypeScript preset](https://github.com/storybookjs/presets/tree/master/packages/preset-typescript)
- [Storybook Info Addon](https://github.com/storybookjs/storybook/tree/master/addons/info)

0 comments on commit 3e3c0d3

Please sign in to comment.