Stripe not referenced in Vue app
Getting the following error when initializing the card element..
"'Stripe' is not defined"
I have even imported the script tag for the stripe CDN in the index.html of my vue app so that its definitely rendered first but still to no avail.
No matter where I put the line
"let stripe = Stripe(process.env.STRIPE_PUBLIC_KEY),"
whether it be in the mounted function or as you have it in the script section, it still isn’t referencing anything.