New: Vue directive that adds AJAX requests to your app without all of the bootstrap code

Hey everyone, this is my first community contribution - I was deeply inspired by HTMX and came up with this Vue library that allows you to add directives to an element so that you can make AJAX requests to an end-point. It has a few options like event callbacks and the ability to update a model. There were a few renderless component libraries out there that do the exact same thing but i’m not a fan of that syntax for this kind of thing.

Not entirely certain where this is going to go - websockets, file uploads etc are interesting ideas - I really like the idea of making things easy and clean for developers so that maybe there’s less code in the component… so we’ll see where this goes - maybe other people have other great ideas that might be cool in this directive!

https://github.com/shaynekasai/v-fetch

1 Like