vue-resource

WebJar for vue-resource

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

vue-resource
Last Version

Last Version

1.5.1
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/pagekit/vue-resource

Download vue-resource

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : got jar [8.0.3,9)

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.npm

Pagekit

A modular and lightweight CMS built with Symfony components

Versions

Version
1.5.1
1.3.4
1.3.1
1.2.1
1.2.0
1.0.3
0.9.3