3 ms·
Thank you! The slot syntax is borrowed from Vue. The difference is that there can be only one slot, and not multiple named slots. I can see that the slots exam
by tipiirai 3y ago
Thank you! The slot syntax is borrowed from Vue. The difference is that there can be only one slot, and not multiple named slots.
I can see that the slots example needs improvement and more detail. I'll make it shine because slot is such an important feature and helps you build reusable code.
I'll work on the docs as a whole, now that I'm getting this valuable feedback from here.
- tinco 3y agoEvery slot system I've ever seen eventually implemented multiple named slots. Often after first only supporting one slot, then multiple unnamed slot and then finally the whole shebang. Why go through that whole progress again with Nue? Or do you foresee some other way of doing highly customizable components?