Closed mctdynamic closed 4 years ago
Hi,
I am setting up Emulsify & Storybook for the first time and I think there is an error in the docs: https://docs.emulsify.info/help/3rd-party-libraries#example-use-jquery-in-a-component
Correct me if I am wrong, but in the screenshot above, shouldn't the file be status.twig instead of status.stories.js since {{ attach_library('THEME_NAME/status') }} is a twig function?
{{ attach_library('THEME_NAME/status') }}
Yes, you are correct. Thank you for noting. I have updated the documentation.
Hi,
I am setting up Emulsify & Storybook for the first time and I think there is an error in the docs: https://docs.emulsify.info/help/3rd-party-libraries#example-use-jquery-in-a-component
Correct me if I am wrong, but in the screenshot above, shouldn't the file be status.twig instead of status.stories.js since
{{ attach_library('THEME_NAME/status') }}
is a twig function?