Back to the Learning

Beep Beep. Subscription Required.

Laracasts is packed full with over 1,500 lessons just like this one.
Sign up to get full access or log in to your account and sit back.

Notification bell

This lesson has been archived.

Your Teacher | Jeffrey Way's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.

About This Episode

Often, you'll find yourself in the position of wanting a form to submit asynchronously. Or, in other words, rather than performing a full post back to the server and refreshing the page, we'd rather opt for a simple AJAX request behind the scenes. Well at this point in your learning, you already know one way to hijack a form's submission, but what if we could instead create a reusable Vue directive to simplify things? What if we could simply add v-ajax to a form tag, and have it automatically switch to using AJAX for its submission?

View the source for this lesson on GitHub.

Published on Jan 21st, 2016.


    1. EPISODE 1 5:02 Free
    2. EPISODE 2 4:20 Free
    3. EPISODE 3 6:17 Free
    4. EPISODE 4 11:12 Free
    5. EPISODE 5 6:14 Free
    6. EPISODE 6 16:17 Free
    7. EPISODE 8 5:34 Free
    8. EPISODE 9 7:26 Free
    9. EPISODE 10 12:27 Free
    10. EPISODE 11 6:22 Free
    11. EPISODE 12 8:27 Free
    12. EPISODE 14 7:26 Free
    13. EPISODE 15 8:22 Free
    14. EPISODE 21 13:36 Free
    15. EPISODE 22 6:42 Free
Back to Series Button