-
-
Notifications
You must be signed in to change notification settings - Fork 3
Home
It is a XHR plugin that works in specific features for Vue.js 2.x and and above versions. It has many similar features with jQuery
's ajax()
and Angular
's $http()
.
It allows you to write more tidy code by solving many of the most common features used by developers in the core. Here are a few examples:
One of the most common problems is the problem of sending dublicate requests at the same time. Vue.js Ajax solve it easily. You can find more information here.
File uploading with Ajax
(XMLHttpRequest
) can sometimes require you to write extra code. But it's very simple to do it with Vue.js Ajax
. You can find more information here.
History feature to create a faster browsing experience. This means less elements to load and therefore faster browsing. But it's very simple to do it with Vue.js Ajax
. There is a detailed explanation to here.
This setting provides protection against CSRF attacks. You can find more information here.
- There is also
Component Shifter
which solves a different task. With componentShifter() you can load (withVue.ajax
) and render yourVue template
(html) in your application by dynamic & asyncVue.component()
. You can also add components and run them nested. You can find more information here.