Forum Discussion

smithme's avatar
smithme
Brass Contributor
Feb 26, 2019

How To: Include a script in my web part

I want to include the following JavaScript in my web part:

https://www.gstatic.com/charts/loader.js

 

I am okay with adding it as a link in the head (using script tags). I am also open to downloading the JavaScript and adding it to my project source so that it is bundled with the web part when I install it.

Which is the best practice? How do I do each?

Resources