vue-resource

WebJar for vue-resource

License

License

MIT
Categories

Categories

JavaScript Languages Github Development Tools Version Controls
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

github-com-vuejs-vue-resource
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

vue-resource
WebJar for vue-resource
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/vuejs/vue-resource

Download github-com-vuejs-vue-resource

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/github-com-vuejs-vue-resource/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>github-com-vuejs-vue-resource</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-vuejs-vue-resource/
implementation 'org.webjars.bower:github-com-vuejs-vue-resource:1.0.2'
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-vuejs-vue-resource/
implementation ("org.webjars.bower:github-com-vuejs-vue-resource:1.0.2")
'org.webjars.bower:github-com-vuejs-vue-resource:jar:1.0.2'
<dependency org="org.webjars.bower" name="github-com-vuejs-vue-resource" rev="1.0.2">
  <artifact name="github-com-vuejs-vue-resource" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='github-com-vuejs-vue-resource', version='1.0.2')
)
libraryDependencies += "org.webjars.bower" % "github-com-vuejs-vue-resource" % "1.0.2"
[org.webjars.bower/github-com-vuejs-vue-resource "1.0.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

vue-resource Build Downloads jsdelivr Version License

The plugin for Vue.js provides services for making web requests and handle responses using a XMLHttpRequest or JSONP.

Features

  • 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)

Installation

You can install it via yarn or NPM.

$ yarn add vue-resource
$ npm install vue-resource

CDN

Available on jsdelivr, unpkg or cdnjs.

<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>

Example

{
  // GET /someUrl
  this.$http.get('/someUrl').then(response => {

    // get body data
    this.someData = response.body;

  }, response => {
    // error callback
  });
}

Documentation

Changelog

Details changes for each release are documented in the release notes.

Contribution

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.

License

MIT

org.webjars.bower

vuejs

Versions

Version
1.0.2