### 最新版をインストール ```bash yarn add @devprotocol/clubs-plugin-payments@0.1.0 ``` ### TransactionForm のつかいかた ```html <script setup> import {TransactionForm} from '@devprotocol/clubs-plugin-payments/compornents' </script> <template> <TransactionForm ... /> </template> ``` ### 決済ゲートウェイライブラリの使用 #### Vue から読み込む ```html <script setup> import {loadLibrary} from '@devprotocol/clubs-plugin-payments/utils' import {onMounted} from 'vue' const { PUBLIC_POP_CLIENT_KEY } = import.meta.env onMounted(()=>{ loadLibrary({clientKey: PUBLIC_POP_CLIENT_KEY}) }) </script> <template> </template> ``` #### Astro から読み込む ```jsx --- import {LoadLibrary} from '@devprotocol/clubs-plugin-payments/compornents' const { PUBLIC_POP_CLIENT_KEY } = import.meta.env --- <LoadLibrary clientKey={PUBLIC_POP_CLIENT_KEY} /> ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up