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
> start-storybook -p 9001 -c .storybook
info @storybook/vue v4.0.0-rc.1
info
(node:16619) ExperimentalWarning: The fs.promises API is experimental
info => Loading presets
ERR! Error: Cannot find module 'babel-preset-vue'
To fix it : add babel-preset-vue as peer dependency in @storybook/vue/package.json
Meanwhile : npm i --save-dev babel-preset-vue
The text was updated successfully, but these errors were encountered:
Steps to reproduce
In a new directory :
basic install :
npm i --save-dev @storybook/vue@rc
peer dependencies from storybook :
npm i --save-dev babel-loader vue-loader vue-template-compiler && npm i --save vue
package related peer dependencies:
npm i --save-dev @babel/core
add run script to package.json :
"scripts" { + "storybook": "start-storybook -p 9001 -c .storybook" },
5a. minimal
.storybook/config.js
:5b. minimal entrypoint with demo :
Now it's time to run :
To fix it : add
babel-preset-vue
as peer dependency in@storybook/vue/package.json
Meanwhile :
npm i --save-dev babel-preset-vue
The text was updated successfully, but these errors were encountered: