Twig Extensions
Emulsify Design System uses a variety of plugins for Twig extensions:
- 1.
- 2.Emulsify Twig Extensions: Adds BEM and Add Attributes custom Twig extensions for Storybook (Twig.js)
- 3.
Note: The
attach_library
Twig extension was deprecated in the latest version as Storybook has a better method for handling JavaScript. That function won't throw errors in Storybook, but it will not add your JavaScript. See Compound's tabs.stories.js
for an example of how to load component-specific javascript in Storybook.Last modified 1yr ago