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
It's been over a day that I'm trying to implement Storybook on an existing project. But as the documentation is outdated I wasted quite a bit of time.. the steps I followed were :
1- cloned the project
2- npm updated
✅
3- install npm install --save-dev @nuxtjs/storybook , don’t use postcss@latest as it says in the documentation. note : #266 (comment) , but it is still on README
4- add first story (or try at least)
5 - re-start the project
6- run npx run storybook
❌ Storybook requires core-js@3. Run yarn add --dev core-js@3 @babel/runtime-corejs3 -> fair cause I'm using nuxt v2.14.12
7- was not sure about @babel/runtime-corejs3 , so I just installed npm i --also=dev core-js@3
✅ project runs fine
❌ Using Storybook within a Typescript project requires installing ts-node. Run yarn add --dev ts-node
8 - npm i --also=dev ts-node
✅ project runs fine
❌ Storybook error : postcss@8 is not compatible with current version of nuxt (v2.14.12). Expected: >=2.15.3
9- ended up running npm i --also=dev @babel/runtime-corejs3 (step 7)
✅ project runs fine
❌ Storybook error : postcss@8 is not compatible with current version of nuxt (v2.14.12). Expected: >=2.15.3
==== Ended up finding out that nuxt v.2.15.3 is required #246 (comment)
==== Can’t install nuxt v2.15.3 cause it breaks the project
@nuxtjs/storybook documentation is incorrect
That's all. Thank you!
The text was updated successfully, but these errors were encountered:
It's been over a day that I'm trying to implement Storybook on an existing project. But as the documentation is outdated I wasted quite a bit of time.. the steps I followed were :
1- cloned the project
2-
npm updated
✅
3- install
npm install --save-dev @nuxtjs/storybook
, don’t usepostcss@latest
as it says in the documentation. note : #266 (comment) , but it is still on README4- add first story (or try at least)
5 - re-start the project
6-
run npx run storybook
❌
Storybook requires core-js@3. Run yarn add --dev core-js@3 @babel/runtime-corejs3
-> fair cause I'm usingnuxt v2.14.12
7- was not sure about
@babel/runtime-corejs3
, so I just installednpm i --also=dev core-js@3
✅ project runs fine
❌ Using Storybook within a Typescript project requires installing
ts-node
. Runyarn add --dev ts-node
8 -
npm i --also=dev ts-node
✅ project runs fine
❌ Storybook error :
postcss@8 is not compatible with current version of nuxt (v2.14.12). Expected: >=2.15.3
BUT #258 (comment) dead end??
9- ended up running
npm i --also=dev @babel/runtime-corejs3
(step 7)✅ project runs fine
❌ Storybook error :
postcss@8 is not compatible with current version of nuxt (v2.14.12). Expected: >=2.15.3
==== Ended up finding out that nuxt v.2.15.3 is required #246 (comment)
==== Can’t install
nuxt v2.15.3
cause it breaks the project@nuxtjs/storybook
documentation is incorrectThat's all. Thank you!
The text was updated successfully, but these errors were encountered: