vue-restify

rest API requests
1,112
Install
npm install vue-restify
Latest Version:1.1.7
License:ISC
Last Updated:Sep 22, 2020
Links: GitHub  ·  npm
Maintainer: david-000

Restify

Make Rest API request's

installation

npm install vue-restify

Usage

basic example

    import { Restify } from "vue-restify"
    
    class Maker extends Restify {
      static fields = {id: null, name: ''};
     
      constructor() {
        super({
            fields: Maker.fields
        });    
      }
    }
    
    const maker = new Maker();

    maker
      .create()
      .only(['name'])    
      .prefix('admin')
      .suffix('create')
      .send()
      .then(res => console.log(res))
      .catch(err => console.log(err))
      .finally(() => console.log('finally'))

Related Packages

fundebug-vue

使用Fundebug实时监控Vue.js应用BUG

15,752
nuxt-custom-headers

Nuxt module to add custom headers to SSR rendered pages.

13,356 12
vue-youtube

YouTube IFrame Player API wrapper

629,279 333
vue-youtube-vue-3

YouTube IFrame Player API wrapper

18,009 333
the-themex-project

Themex aims to prevent a blank screen in your IDE and serves as a solid foundati...

7,230 18

Version History

Version Released License
1.1.7 ISC
1.1.6 ISC
1.1.5 ISC
1.1.4 ISC
1.1.3 ISC