\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of \n\n\n// WEBPACK FOOTER //\n// src/rave.vue","import rave from './rave.vue'\n\nexport default rave\n\n\n\n// WEBPACK FOOTER //\n// ./src/index.js","function injectStyle (ssrContext) {\n require(\"!!vue-style-loader!css-loader?minimize!../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-2a4295b6\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../node_modules/vue-loader/lib/selector?type=styles&index=0!./rave.vue\")\n}\nvar normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./rave.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./rave.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2a4295b6\\\",\\\"hasScoped\\\":false,\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./rave.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/rave.vue\n// module id = 2\n// module chunks = 0","// style-loader: Adds some css to the DOM by adding a
68 |
--------------------------------------------------------------------------------
/examples/commonjs/app.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import App from './App.vue'
3 | new Vue({
4 | render: h => h(App)
5 | }).$mount('#app')
6 |
--------------------------------------------------------------------------------
/examples/commonjs/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Vue-Rave
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/examples/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Vue RavePayment Example
5 |
6 |
7 |
8 |
9 |
21 |
22 |
23 |
24 |
34 |
35 | Payment Make Payment - 1
36 |
37 |
38 |
39 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "vue-ravepayment",
3 | "version": "2.0.2",
4 | "description": "Vue Rave Payment Component for Vue 2.x.",
5 | "main": "dist/rave.min.js",
6 | "scripts": {
7 | "lint": "eslint src --ext=js,vue || exit 0",
8 | "lint:fix": "eslint src --ext=js,vue --fix || exit 0",
9 | "dev": "webpack --env=webpack.dev && webpack-dev-server --content-base=./examples/commonjs --env=webpack.dev --open --hot",
10 | "dist": "webpack --env=webpack.dist"
11 | },
12 | "repository": {
13 | "type": "git",
14 | "url": "git+https://github.com/iamraphson/vue-ravepayment.git"
15 | },
16 | "files": [
17 | "dist",
18 | "src"
19 | ],
20 | "keywords": [
21 | "Rave",
22 | "Vue",
23 | "Vuejs",
24 | "Vue 2",
25 | "Payment Gateway",
26 | "Rave Payment",
27 | "Flutterwave"
28 | ],
29 | "author": "Ayeni Olusegun",
30 | "license": "MIT",
31 | "bugs": {
32 | "url": "https://github.com/iamraphson/vue-ravepayment/issues"
33 | },
34 | "homepage": "",
35 | "devDependencies": {
36 | "@babel/cli": "^7.5.5",
37 | "@babel/core": "^7.5.5",
38 | "@babel/preset-env": "^7.5.5",
39 | "babel-loader": "^8.0.6",
40 | "css-loader": "^3.2.0",
41 | "eslint": "^6.1.0",
42 | "eslint-config-vue": "^2.0.2",
43 | "eslint-loader": "^2.2.1",
44 | "eslint-plugin-vue": "^5.2.3",
45 | "standard": "^13.1.0",
46 | "uglifyjs-webpack-plugin": "^2.2.0",
47 | "vue": "^2.6.10",
48 | "vue-loader": "^15.7.1",
49 | "vue-template-compiler": "^2.6.10",
50 | "webpack": "^4.39.1",
51 | "webpack-cli": "^3.3.6",
52 | "webpack-dev-server": "^3.8.0"
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/rave-demo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/iamraphson/vue-ravepayment/371faba31d38a72a9b06cd20c790c3096caf99e5/rave-demo.png
--------------------------------------------------------------------------------
/src/index.js:
--------------------------------------------------------------------------------
1 | import rave from './rave.vue'
2 |
3 | export default rave
4 |
--------------------------------------------------------------------------------
/src/rave.vue:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
127 |
135 |
--------------------------------------------------------------------------------
/webpack.config.js:
--------------------------------------------------------------------------------
1 | function buildConfig(env) {
2 | return require('./build/' + env + '.js')
3 | }
4 |
5 | module.exports = buildConfig
6 |
--------------------------------------------------------------------------------