This is a Vue Package that helps you integrate Flutterwave - https://flutterwave.com/ easily
npm install vue-flutterwave> This is a Vue Package that helps you integrate Flutterwave - https://flutterwave.com/ easily"
 
Install the npm package:
``bash`
npm install --save vue-flutterwaveOR
yarn add vue-flutterwave
Add the Vue plugin in your main.js and pass your connect public key:
`javascript
import Vue from 'vue'
import Flutterwave from 'vue-flutterwave'
Vue.use(Flutterwave, { publicKey: 'YOUR CONNECT PUBLIC KEY' })
`
Install the npm package:
`bash`
npm install --save vue-flutterwaveOR
yarn add vue-flutterwave
Create a flutterwave.js file in your plugins folder and add the Vue plugin:
`javascript
// plugins/flutterwave.js
import Vue from 'vue'
import Flutterwave from 'vue-flutterwave'
Vue.use(Flutterwave, { publicKey: 'YOUR CONNECT PUBLIC KEY' })
`
Go to your nuxt.config.js and add it to your plugin section
`javascript
/*
** Plugins to load before mounting the App
** https://nuxtjs.org/guide/plugins
*/
............
plugins: [{src: '~/plugins/flutterwave', ssr: false},],
...........
`
Flutterwave can be launched using $launchFlutterwave() method, see example below
`vue
``
Please checkout
Flutterwave Documentation for more explanation and options
Follow on Twitter @mrflamez\_
This project is licensed under the MIT License - see the LICENSE.md file for details