DePayFi / widgets

💸 Payments directly into your wallet. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion and state-of-the-art widgets.
https://depay.com
MIT License
96 stars 36 forks source link

I hope Depay can support vue #60

Closed suifengtec closed 2 years ago

suifengtec commented 2 years ago

I hope Depay can support vue...

10xSebastian commented 2 years ago

You should be able to use the bundle and open the widget in vue.

try:

import DePayWidgets from '@depay/widgets/umd/index.bundle'

DePayWidgets.Payment(...)
10xSebastian commented 2 years ago

We are also testing Payment links at the moment to simplify integrations. Here is an example: https://buy.depay.fi/vR4sYAjviGd6oILCOMZSy

Let me know if you want to test this and I send you a link to test it out.

suifengtec commented 2 years ago

You should be able to use the bundle and open the widget in vue.

try:

import DePayWidgets from '@depay/widgets/umd/index.bundle'

DePayWidgets.Payment(...)

Thank you! import DePayWidgets from '@depay/widgets/dist/umd/index.bundle'

it works fine with Vue, do NOT forget the /dist .