vue-resource

WebJar for vue-resource

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

vue-resource
Последняя версия

Последняя версия

1.5.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

vue-resource
WebJar for vue-resource
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

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

Скачать vue-resource

Как подключить последнюю версию

<!-- 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"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : got jar [8.0.3,9)

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
1.5.1
1.3.4
1.3.1
1.2.1
1.2.0
1.0.3
0.9.3