After a few attempts, I think this time I got this right.
With the new decorator withAngularJs, story can be as simple as this:
exportdefault{title:"QuoteCard",decorators:[withAngularJs("myApp")]};exportconstsimpleTemplate=()=>`
<quote-card author="'Me'">
It works with a simple template!
</quote-card>
`;
Check the new examples for more advanced uses.
You can even write stories in markdown with the MDX story format supported by Storybook.
Finally v1 🎉
After a few attempts, I think this time I got this right.
With the new decorator
withAngularJs
, story can be as simple as this:Check the new examples for more advanced uses.
You can even write stories in markdown with the MDX story format supported by Storybook.
New Features
No Breaking Changes
Yes, you can migrate from v0.0.2 to v1.0 with no changes to your stories. 💪
Repository: github.com/titonobre/storybook-add...
Working Examples: storybook-addon-angularjs.now.sh