You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I then run npm run storybook I get the following error:
Error: Failed to scan for dependencies from entries:
/workspaces/dev/tests/storybook-vue/src/stories/Button.stories.js
/workspaces/dev/tests/storybook-vue/src/stories/Button.stories.vue
/workspaces/dev/tests/storybook-vue/src/stories/Header.stories.js
/workspaces/dev/tests/storybook-vue/src/stories/Page.stories.js
✘ [ERROR] Do not know how to load path: html:/workspaces/dev/tests/storybook-vue/src/stories/Button.stories.vue?vue&type=stories
<stdin>:2:7:
2 │ import "/workspaces/dev/tests/storybook-vue/src/stories/Button.stor...
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Any ideas?
The text was updated successfully, but these errors were encountered:
Here are the steps to create a test projects:
npm init vite@latest storybook-vue -- --template vue cd storybook-vue npm install npx storybook@latest init npm install --save-dev storybook-vue-addon
Then, following the instructions, I replace
main.js
withI then create
Button.stories.vue
insrc/stories
with the following:vite.config.js
looks like this:I then run
npm run storybook
I get the following error:Any ideas?
The text was updated successfully, but these errors were encountered: