Static GitHub Issues

[241] Using external scripts?

prev: How to get request in Vue plugins initialization
next: Versatile Vue.js Application

I'm looking to integrate a custom Stripe payment page into a Nuxt project. In their docs it says to include their library via a script tag in your page head/footer:

<script type="text/javascript" src="https://js.stripe.com/v2/"></script>

How would I handle this with Nuxt seen as their docs states that "Stripe.js should always be loaded directly from this URL: https://js.stripe.com/v2/", my first instinct was to just drop a script tag in my default layout template but this doesn't seem to work?

Is there a way I can do this correctly?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c205">#c205</a>)</em></sub></div>