How can i include Paypal in nuxt?

I have read the documentation on how to include the paypal button :

But my problem is that I am using nuxt and I don't know how to embed the buttons I tried this but no luck

          <paypal-buttons [props]="{
            createOrder: createOrder,
            onApprove: onApprove


  // const PayPalButton = paypal.Buttons.driver("vue", window.Vue);

export default {
  components: {
    "paypal-buttons": PayPalButton,

   head() {
      return {
        script: [
            hid: 'paypal',
            defer: true

      window.paypal.Buttons.driver("vue", window.Vue);