- Issue created by @jeanpaulbouvet
I have no problem to compile my scss theme with yarn theme:watch if I do not install storybook
I have no problem to use storybook but I cannot use components:build theme:init and all other yarn scripts used for theming
My question is : is it possible to use Storybook and theming with yarn in the same project?
We have a yarn with the scripts 'theme:init' 'theme:build' 'components:build' etc at the docroot/themes/custom/myTheme level and another yarn with the scripts 'storybook:build' 'storybook' etc at the project level.
For example I cannot run yarn components:build at the project level.
If not -> Usage Error: Couldn't find a script named "components:build".
And if I run it in docroot/themes/custom/myTheme, I have the error ->
Usage Error: The nearest package directory (/html/myProject/docroot/themes/custom/myTheme) doesn't seem to be part of the project declared in /html/myProject
How can I do to have a unique yarn at the myProject level which could run the docroot/themes/custom/myTheme scripts?
Thank your for your help
JPB
Active
3.0
Code