1.1.2 • Published 6 years ago

jayson-rpc-vue v1.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

JAYSON-RPC Vue.js integration

Install

$ npm install jayson-rpc-vue

Open you main.js file and add the following

import JaysonRPC from 'jayson-rpc-vue'

Vue.use(JaysonRPC, 'URL', https = false);

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

this.$JaysonRPC.request('method_name', ['params'], function(err, response) {
      if (err) throw err;
      console.log(response.result); // 2
});
1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago