标签:ber paypal size storm https npm out font check
1.引用
npm install vue-paypal-checkout
2.定义paypal.js
import Vue from ‘vue‘
import PayPal from ‘vue-paypal-checkout‘
Vue.component(‘paypal-checkout‘, PayPal)
3.
plugins: [ { src: ‘~/plugins/paypal.js‘, ssr: false } ],
4.使用
<paypal-checkout
env="sandbox"
amount="10000"
currency="IDR"
locale="fr_FR"
:client="paypal"
:invoice-number="‘201705051001‘">
</paypal-checkout>
GitHub - cocoastorm/vue-paypal-checkout: A simple Vue.js wrapper component for paypal-checkout
标签:ber paypal size storm https npm out font check
原文地址:https://www.cnblogs.com/luohang556/p/14720303.html