Closed d-koppenhagen closed 3 years ago
You need to specify the vue3
framework:
https://github.com/storybookjs/storybook/blob/next/examples/vue-3-cli/vuethreeshots.test.js#L5
@jonniebigodes do you know where to document this?
@shilman I'll make a pull request tomorrow (Wednesday) addressing this and link this issue.
Great! Meanwhile I was able to set things up by providing the framework option as @shilman pointed out.
Closing this issue as the documentation was updated to address this issue. @d-koppenhagen feel free to let me know if this is still an issue for you and I'll gladly re-open the issue and revisit and update the documentation.
Stay safe
Describe the bug Setting up addon-storyshots using jest, storybook and Vue3 fails.
Executing the test will produce the following output:
Vue3 support should have been landed with this MR.
The problem seems to be that the addon can't find the loader
@storybook/vue
as when using vue3, the loader is named@storybook/vue3
.I tried to add the
@storybook/vue
additionally by adding the following to mypackage.json
fileAfter this a different error does occur:
System
Additional context
File configuration:
package.json:
tests/setup.js:
tests/storybook/jest.config.js:
storybook.test.js: