Skip to content

_ctx.route is not a function in storybook #619

Answered by bakerkretzmar
wadakatu asked this question in Q&A
Discussion options

You must be logged in to vote

What's the entire component/store/file that error is coming from? I'm not super familiar with storybook but you'll need to make sure the route() function is available in your story, either by installing the Ziggy Vue plugin or manually importing it and setting it up.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wadakatu
Comment options

Answer selected by wadakatu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants