|
%!s(int64=7) %!d(string=hai) anos | |
---|---|---|
.. | ||
.circleci | %!s(int64=7) %!d(string=hai) anos | |
.github | %!s(int64=8) %!d(string=hai) anos | |
dist | %!s(int64=8) %!d(string=hai) anos | |
src | %!s(int64=7) %!d(string=hai) anos | |
test | %!s(int64=8) %!d(string=hai) anos | |
.npmignore | %!s(int64=8) %!d(string=hai) anos | |
LICENSE | %!s(int64=8) %!d(string=hai) anos | |
README.md | %!s(int64=8) %!d(string=hai) anos | |
package.json | %!s(int64=8) %!d(string=hai) anos | |
yarn.lock | %!s(int64=8) %!d(string=hai) anos |
The plugin for Vue.js provides services for making web requests and handle responses using a XMLHttpRequest or JSONP.
$ npm install vue-resource
$ bower install vue-resource
Available on jsdelivr, cdnjs or unpkg.
<script src="https://cdn.jsdelivr.net/vue.resource/1.3.1/vue-resource.min.js"></script>
{
// GET /someUrl
this.$http.get('/someUrl').then(response => {
// get body data
this.someData = response.body;
}, response => {
// error callback
});
}
Details changes for each release are documented in the release notes.
If you find a bug or want to contribute to the code or documentation, you can help by submitting an issue or a pull request.