vue-resource

WebJar for vue-resource

Лицензия

Лицензия

MIT
Категории

Категории

JavaScript Языки программирования Github Инструменты разработки Контроль версий
Группа

Группа

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

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

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

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

1.0.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

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

Скачать github-com-vuejs-vue-resource

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

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

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

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

vuejs

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

Версия
1.0.3