From 0fbd1f46eaf75e43fbda78c7397977179eb52516 Mon Sep 17 00:00:00 2001 From: ygs07 Date: Tue, 26 Nov 2024 19:18:13 +0100 Subject: [PATCH 1/2] New Feature Added basic validation to show missing props and added the option of a full custom slot for button --- dev/serve.vue | 49 ++++++++++++++++++---- src/vue3-paystack.vue | 95 +++++++++++++++++++++++++++---------------- 2 files changed, 103 insertions(+), 41 deletions(-) diff --git a/dev/serve.vue b/dev/serve.vue index e6f2091..78bf40c 100644 --- a/dev/serve.vue +++ b/dev/serve.vue @@ -1,12 +1,12 @@ @@ -15,12 +15,47 @@ export default defineComponent({ VuePaystack with slot -

+ +
+ + + +



diff --git a/src/vue3-paystack.vue b/src/vue3-paystack.vue index 83ec684..e5edf34 100644 --- a/src/vue3-paystack.vue +++ b/src/vue3-paystack.vue @@ -1,9 +1,9 @@ + From ae3f25fe93356af99e0007fed75214d9ceed01a5 Mon Sep 17 00:00:00 2001 From: ygs07 Date: Tue, 26 Nov 2024 20:00:29 +0100 Subject: [PATCH 2/2] updated readme --- README.md | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 68 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0a48ddf..48aa59c 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,41 @@ vue3-paystack allows you to accept payments in your vue application created with The component is easily customisable. ### NPM + ```npm npm i vue3-paystack ``` + ## Usage + +```javascript + + + + +``` + +## Usage With A custom button, you can fully customize the look of the pay button + ```javascript @@ -31,15 +94,17 @@ export default { }, } - + ``` ## Documentation + A more detailed guide can be found [here](https://vue3paystack.netlify.app/) ## Want to say thanks? -If this has been helpful, kindly share the link to other and a star on the github repo would be helpful too +If this has been helpful, kindly share the link to other and a star on the github repo would be helpful too ## License -Licensed under MIT License. [Click](https://github.com/somteacodes/vue3-paystack/blob/master/LICENSE.md) for details. \ No newline at end of file + +Licensed under MIT License. [Click](https://github.com/somteacodes/vue3-paystack/blob/master/LICENSE.md) for details.