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
I'm planning to integrate AlpineJs with tailwind in the storybook.
Additional information
I'm working with Hyvä Theme technology and I'd like to have a place to prepare my components or allow my juniors to do so before integrating them into the site. As well as allowing me to write associated documentation (for us internally or for customers).
I've managed to get Tailwind working though, if I manage to write the AlpineJs template without error (using x-on syntax rather than @) the component just doesn't work, as if alpine wasn't taken into account.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
Hello !
I'm planning to integrate AlpineJs with tailwind in the storybook.
Additional information
I'm working with Hyvä Theme technology and I'd like to have a place to prepare my components or allow my juniors to do so before integrating them into the site. As well as allowing me to write associated documentation (for us internally or for customers).
I've managed to get Tailwind working though, if I manage to write the AlpineJs template without error (using x-on syntax rather than @) the component just doesn't work, as if alpine wasn't taken into account.
My files :
main.js
preview.js
AlpineComponent.jsx
AlpineComponent.stories.js
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions