-
-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Fatih Koca edited this page Nov 27, 2019
·
27 revisions

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.
Some examples:
- One of the most common problems is the problem of sending dublicate requests at the same time. Vue.js Ajax solve it easily:
preventDuplicate: true. - File uploading with
Ajax(XMLHttpRequest) can sometimes require you to write extra code. But it's very simple to do it withVue.js Ajax: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 yourVue template(html) in your application by dynamic & asyncVue.component(). You can also add components and run them nested.
For getting started: