-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/add storybook html #696
Conversation
import '@ungap/custom-elements-builtin'; | ||
import { storiesOf } from '@storybook/html'; | ||
|
||
import globalStyles from '../index.scss'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could either use webpack for this or preview-head.html
(though only css not scss)
|
||
import globalStyles from '../index.scss'; | ||
|
||
import './tables'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,27 @@ | |||
import { storiesOf } from '@storybook/html'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could also have stories in each component folder 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with a *.stories.js
extention, like suggested here:
https://storybook.js.org/basics/writing-stories/#loading-stories-dynamically
d73292d
to
80efc6f
Compare
Fixes #590
Changes proposed in this pull request:
storybook/@html
Type of change
How Has This Been Tested?
Checklist: