vue-restify
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
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 | |
| 1.1.2 | ISC | |
| 1.1.1 | ISC | |
| 1.1.0 | ISC | |
| 1.0.46 | ISC | |
| 1.0.45 | ISC | |
| 1.0.44 | ISC | |
| 1.0.43 | ISC | |
| 1.0.42 | ISC | |
| 1.0.41 | ISC | |
| 1.0.40 | ISC | |
| 1.0.39 | ISC | |
| 1.0.38 | ISC | |
| 1.0.37 | ISC | |
| 1.0.36 | ISC | |
| 1.0.35 | ISC | |
| 1.0.34 | ISC | |
| 1.0.33 | ISC | |
| 1.0.32 | ISC | |
| 1.0.31 | ISC | |
| 1.0.30 | ISC | |
| 1.0.29 | ISC | |
| 1.0.28 | ISC | |
| 1.0.27 | ISC | |
| 1.0.26 | ISC | |
| 1.0.25 | ISC |
Showing the latest 30 of 53. See every release on npm