Ky Vue Plugin
Typescript vue ky plugin.
Based on ky package
This plugin simply extend the vue object with ky. It can also create a base instance to use directly from vue.
Install
npm install vue-ky-plugin --save
Import in Vue
In your entry set:
;; Vue.useKyPlugin; // or ; Vue.useKyPlugin, ky.extend
How to use
In your components just do
// just do ;
How ky works
Check ky github page