3 ms·
I've used it on a few sites and really liked its simplicity. It's Tailwind for JS. That said, does AlpineJS offer any framework for extension? What I mean is t
by aosaigh 6y ago
I've used it on a few sites and really liked its simplicity. It's Tailwind for JS.
That said, does AlpineJS offer any framework for extension? What I mean is the ability to build on it with custom JS to create custom small components on the page? I know that it's not necessarily intended to to this, but I find this is the gulf between "do it yourself" and "use Vue/React/..." that is hard to fill.
For example, with Tailwind I can use @apply to build my own class-based CSS components if I really need to. 90% of the time I shouldn't need to do this, but the reality is there's 10% of the time when Tailwind doesn't cover my use case.
Does Alpine have this?
- simplify 6y agoMaybe custom elements would help? https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements https://developer.mozilla.org/en-US/docs/Web/Web_Components/... There's also spruce when you need to share data across components https://github.com/ryangjchandler/spruce https://github.com/ryangjchandler/spruce