How can i include Paypal in nuxt?

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

https://github.com/paypal/paypal-checkout-components/blob/master/demo/vue.htm

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

<template>
  <div>
    
          <paypal-buttons [props]="{
            createOrder: createOrder,
            onApprove: onApprove
        }"></paypal-buttons>

  </div>
</template>

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

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

  },
   head() {
      return {
        script: [
          {
            hid: 'paypal',
            src:'https://www.paypal.com/sdk/js?client-id=ATBsZhsqGE6l_uSSF6lrqNowscxyjAZ2UdZX1qfrwutrDab8rPdPFU3UtYbuHzywT1QknKterhphoGj9',
            defer: true

          }
        ]
      
      }
    },
    mounted(){
      window.paypal.Buttons.driver("vue", window.Vue);

    },
 

};
</script>