Questions tagged [vue-resource]

An HTTP client plugin for Vue.js to manage web requests and responses using XMLHttpRequests or JSONP

vue-resource

vue-resource is an HTTP client plugin for Vue.js to manage web requests and responses using XMLHttpRequests or JSONP.

Features of the plugin (see README):

  • Supports the Promise API and URI Templates
  • Supports interceptors for request and response
  • Supports latest Firefox, Chrome, Safari, Opera and IE9+
  • Supports Vue 1.0 & Vue 2.0
  • Compact size 14KB (5.3KB gzipped)

vue-resource is no longer part of the official recommendation list from Vue, Though it still functions as intended and is usable.

"Potential reasons to migrate away include maintenance, universal/isomorphic support and more advanced features. - Vue JS Core Team

Resources

Related Tags

403 questions
6
votes
1 answer

How to import a local stored xml file in Vue and edit it?

I am new to VueJS and want to re-write part of my plain Javascript SPA with Vue JS now (just for training and learning). I created my project with Vue-CLI. And here is a part of my file structure now: ---src |---assets |---logo.png …
Min XIE
  • 463
  • 8
  • 19
6
votes
4 answers

vue js ajax inside another ajax is getting data but not rendering view

There is a situation that I have to get extra data after my first ajax (in mounted function) in vuejs, I have put the second ajax in if condition and inside success function of the first ajax! It is working and I see data in Vue Devtools in chrome,…
Ahmad Mobaraki
  • 7,426
  • 5
  • 48
  • 69
6
votes
1 answer

Vue resources - plugin.apply is not a function

I have a pagination component built with Vue 1, for which I am receiving data from Laravel pagination: