|
|
%!s(int64=3) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| .circleci | %!s(int64=3) %!d(string=hai) anos | |
| .github | %!s(int64=3) %!d(string=hai) anos | |
| dist | %!s(int64=3) %!d(string=hai) anos | |
| src | %!s(int64=3) %!d(string=hai) anos | |
| test | %!s(int64=3) %!d(string=hai) anos | |
| types | %!s(int64=3) %!d(string=hai) anos | |
| .eslintignore | %!s(int64=3) %!d(string=hai) anos | |
| .eslintrc.js | %!s(int64=3) %!d(string=hai) anos | |
| LICENSE | %!s(int64=3) %!d(string=hai) anos | |
| README.md | %!s(int64=3) %!d(string=hai) anos | |
| package.json | %!s(int64=3) %!d(string=hai) anos | |
| yarn.lock | %!s(int64=3) %!d(string=hai) anos | |
The plugin for Vue.js provides services for making web requests and handle responses using a XMLHttpRequest or JSONP.
You can install it via yarn or NPM.
$ yarn add vue-resource
$ npm install vue-resource
Available on jsdelivr, unpkg or cdnjs.
<script src="https://cdn.jsdelivr.net/npm/vue-resource@1.5.1"></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.