Replies: 3 comments 9 replies
-
AFAIK actions works for all frameworks including vue. you can see it working in our vue example apps e.g. https://next--storybookjs.netlify.app/vue-kitchen-sink/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
Example import { action } from '@storybook/addon-actions'
import HelloWorld from './hello-world'
export default {
title: 'Atoms / Hello World',
}
export const Default = () => ({
components: { HelloWorld },
template:
'<hello-world @click="action"></hello-world>',
methods: { action: action('clicked') }
}) |
Beta Was this translation helpful? Give feedback.
8 replies
-
i tried the things same as written here https://storybook.js.org/blog/improved-type-safety-in-storybook-7/ but event is not showing in args or argtypes |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried several times for this issue, found that mostly it support react.js, not vue.js.
I want to make the click event work in actions, how to solve it? thanks.
Beta Was this translation helpful? Give feedback.
All reactions