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.
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")