vue-json-rpc-client-fetch-withcredentials

    1.5.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', 'NEWHEADERS', 'DEBUG');

    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

    3

    Version

    1.5.0

    License

    MIT

    Unpacked Size

    2.88 kB

    Total Files

    4

    Last publish

    Collaborators

    • pedroresende