-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Decorators for Vue stories #1653
Comments
WIP now. |
close due to released v3.2.8 |
@kazupon I can't find any documentation for how to actually use decorators with Vue... |
@smiller171, for decorators with Vue, try:
|
This should be added to the documentation. It was actually an effort to find this here. For anyone looking for a solution similar to the one shown in the docs, I solved with:
|
@adi-zz This is good to add a decorator in my story but what about for pre-existing decorators in scss files. For example, in Vue.js I have |
Base configuration: https://storybook.js.org/docs/guides/guide-vue/#step-3-create-the-config-file (see details) Add SASS support: https://storybook.js.org/docs/configurations/custom-webpack-config/#full-control-mode Global styles: storybookjs/storybook#1653 (comment) Accessibility addon: https://github.com/storybookjs/storybook/tree/master/addons/a11y
* install storybook and addons * Configure storybook Base configuration: https://storybook.js.org/docs/guides/guide-vue/#step-3-create-the-config-file (see details) Add SASS support: https://storybook.js.org/docs/configurations/custom-webpack-config/#full-control-mode Global styles: storybookjs/storybook#1653 (comment) Accessibility addon: https://github.com/storybookjs/storybook/tree/master/addons/a11y * CTALink stories * Blog List stories * BlogListItem stories * ContentColumn stories * tweak styling * HeroHeader stories * Navigation stories And fixed a11y issue with nav links' text * start working on PageHeader stories * cleaned up page header styles * ReadingTime stories * TalkList stories * more tweaks * fix tests
Hi, I wasn't able to make work decorators when using Vue Stories and the documentation only reference an react example.
Are those supported?
The text was updated successfully, but these errors were encountered: