Skip to content

Commit

Permalink
Add getting started on readme
Browse files Browse the repository at this point in the history
  • Loading branch information
marcolanaro committed Jul 5, 2021
1 parent 9a7389d commit d446537
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions app/stencil/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,15 @@ With it, you can visualize different states of your UI components and develop th

Storybook runs outside of your app.
So you can develop UI components in isolation without worrying about app specific dependencies and requirements.

## Getting Started

With the current state you will be able to write your stories using stencil.

```
cd my-app
npm i @storybook/stencil
npm run build:watch
npm run storybook
```
2 changes: 1 addition & 1 deletion examples/stencil-kitchen-sink/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
stories: [`../**/*.stories.jsx`],
stories: [`../**/*.stories.@(jsx|tsx)`],
};

0 comments on commit d446537

Please sign in to comment.