Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

vue-json-rpc-client-fetch-withcredentials

1.1.0 • Public • Published

VUE-JS-JSON-RPC-CLIENT-WITHCREDENTIALS Vue.js integration

Install

$ npm install vue-json-rpc-client-fetch-withcredentials

Open you main.js file and add the following

import JsonRpcVueClient from 'vue-json-rpc-client-fetch-withcredentials'
 
Vue.use(JsonRpcVueClient, 'URL', 'CREDENTIALS', 'CONFIG');

In your .vue file, to make a call just do it using

this.$JsonRpcVueClient.request('method_name', {params})
.then((response) => {
    console.log(response);
})

install

npm i vue-json-rpc-client-fetch-withcredentials

Downloadsweekly downloads

106

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability