Closed mxub closed 3 months ago
Yes, these features are not really well-documented. I created a PR #38 with more details about using components.
Please have a look and try to use it. Feedback is appreciated.
The updated README is now available in the main branch.
https://github.com/lukasleitsch/kirby-blade/tree/main?tab=readme-ov-file#anonymous-components
Hey everyone,
Firstly: thank you for providing this plugin.
The readme mentions
I'm mostly interested in creating components for better work with tailwind. Sadly I don't understand how to get that working.
A little more examples in the documentation would be awesome so that someone like me can get started right away.
My goal for now:
I want a
<x-hello />
tag that inserts<span>Hello World</span>
Any pointers on where to start would be highly appreciated. It feels like it belongs somewhat to #20 but I would need some pointers to start becoming helpful...
File Structure as I would imagine