-
-
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. For example, one of the most common problems is the problem of sending dublicate requests at the same time easily solve: preventDuplicate: true
. Another example is the file upload process with ajax (XMLHttpRequest). It's very simple to do this here: fileInputs: [FILE_INPUT_ELEMENT_1, FILE_INPUT_ELEMENT_2, ...]
There is also ComponentShifter which solves a different task. With componentShifter() you can load (with Vue.ajax
) and render your Vue template
(html) in your application by dynamic & async Vue.component()
. You can also add components and run them nested.