Skip to content
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

Decorator support #55

Closed
egoist opened this issue Sep 20, 2019 · 1 comment
Closed

Decorator support #55

egoist opened this issue Sep 20, 2019 · 1 comment
Labels

Comments

@egoist
Copy link
Owner

egoist commented Sep 20, 2019

demoboard.addDecorator(demo => {
	demo.component = toReact(demo.component)
	return demo
})

demoboard.section('Button')
.add('Default', {
  component: {
    template: `<div>A Vue component</div>`
  }
})
@egoist egoist closed this as completed in 1d5c61b Sep 21, 2019
@egoist
Copy link
Owner Author

egoist commented Sep 21, 2019

🎉 This issue has been resolved in version 0.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant