0
jamsecgmbh created
Hi,
what's best practise to include external javascript (e.g. <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=places"></script>) - in which file should I include them?
Thanks!
3 Answer(s)
-
0
Sorry for the late response (your post has not be seen). Normally, you should include this in what page you need it. If you need it in all pages, add it to layout. I could not understand if you wanted to ask something different.
-
0
Thank you very much and no problem ;)
I want to make it available in multiple pages and use the SPA - so I put it in Web/App/common/layout/layout.cshtml, right?
Thanks!
-
0
yes, layout of SPA is that :)