title: Share external script between VueJS components
body: <p>I am trying to load the external Stripe script in one component here <a href="https://gitlab.com/gadelkareem/skeleton/-/blob/feature/stripe/src/frontend/src/components/payment/PaymentMethods.vue#L167" rel="nofollow noreferrer">https://gitlab.com/gadelkareem/skeleton/-/blob/feature/stripe/src/frontend/src/components/payment/PaymentMethods.vue#L167</a></p>
  <pre><code>      this.includeStripe('js.stripe.com/v3/', function () {
          this.configureStripe()
        }.bind(this))
  </code></pre>
  <p>Then I load a dialog inside the same page which also needs the same Stripe() script so I have to load it again here <a href="https://gitlab.com/gadelkareem/skeleton/-/blob/feature/stripe/src/frontend/src/components/payment/AddPaymentMethod.vue#L147" rel="nofollow noreferrer">https://gitlab.com/gadelkareem/skeleton/-/blob/feature/stripe/src/frontend/src/components/payment/AddPaymentMethod.vue#L147</a> with similar duplicated code.</p>
  <p>Is there a way to share that script between both components? preferably without making it global.</p>