0
sidelineedge created
How do I successfully import a remote javascript file (https://js.stripe.com/v3/) into an MVC/Angular solution? Including the link in the layout header seems to do nothing.
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
Finally figured out a solution. Added the following to the \App\common\views\layout\layout.cshtml file.
@Scripts.RenderFormat( "<script src='https://js.stripe.com/v3/'></script>", "~/Bundles/App/libs/js/stripe")
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)