Skip to content

Commit ea57f32

Browse files
committed
docs: add links to upgrade guide and older documentation
1 parent 5d6f728 commit ea57f32

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Vue Stripe.js
2-
### [**Become a sponsor** 💜](https://github.com/sponsors/softbeehive)
32

43
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/ectoflow/vue-stripe-js/ci.yml?branch=main)](https://github.com/ectoflow/vue-stripe-js/actions)
54
[![npm](https://img.shields.io/npm/v/vue-stripe-js)](https://www.npmjs.com/package/vue-stripe-js)
@@ -9,8 +8,14 @@
98

109
Vue 3 components for Stripe. Build advanced payment integrations quickly. Easy to start, friendly DX, minimal abstractions, and full control. It's a glue between Stripe.js and Vue component lifecycle.
1110

11+
### [**Become a sponsor** 💜](https://github.com/sponsors/softbeehive)
12+
Consider supporting efforts to make this project healthy and sustainable. Thank you!
13+
1214
## Quickstart ⚡️
1315

16+
[**Upgrade guide**](docs/UPGRADE_V1_TO_V2.md)
17+
[**Docs v1**](https://github.com/ectoflow/vue-stripe-js/tree/v1.0.4)
18+
1419
### 1. Install
1520

1621
```bash
@@ -164,7 +169,7 @@ All features of Stripe.js are available in two components. The benefits of Vue s
164169

165170
🥇 **Most important property is type** 🥇
166171

167-
```vue
172+
```html
168173
<StripeElements>
169174
<StripeElement type="payment" />
170175
</StripeElements>
@@ -221,7 +226,7 @@ Following events are emitted on StripeElement
221226

222227
## Styling
223228

224-
Apply classes to components
229+
Add classes to components
225230

226231
```html
227232
<StripeElements class="border">

docs/UPGRADE_V1_TO_V2.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Upgrade guide
2+
3+
Upgrading your vue-stripe-js from v1 to v2.
4+

0 commit comments

Comments
 (0)