mcfriend99 / wire

Dynamic HTML template engine.
https://mcfriend99.github.io/wire/
MIT License
1 stars 0 forks source link

Loops and Nyssa #1

Open benstigsen opened 1 year ago

benstigsen commented 1 year ago

I do see that there's currently <div w-for="name" w-key="x">{{ x }}</div> for loops. But, would it be possible to add support for more traditional templating loops like: {{ for x in name }}?

Also, could you please add wire to Nyssa for easier installation? 😄 Currently writing my website with Blade, and wire is very useful.

mcfriend99 commented 1 year ago

I'll publish Wire as a Nyssa package soon enough.

As for the schematics, I want Nyssa to be as integrated to HTML as possible. I personally think the current schematics fit that bill better.

mcfriend99 commented 1 year ago

@BenStigsen will you be open to help document wire?? I've not been able to get around to it. Between a full-time job, Blade and Nyssa packages, it's been quite tasking.

benstigsen commented 1 year ago

I would love to, but I'm also very busy. Been sick lately and my exam project is coming up.

benstigsen commented 1 year ago

Been looking at it again to add documentation. Would you like me to document the private and public methods or only the public methods?

mcfriend99 commented 1 year ago

Just the public methods. Thanks a lot ❤️