In the project we have local CSS, but it would be nice to use an existing CSS on a website.
What's the best way to use this?
I know I can use it by adding the line below in the html.
<link rel="stylesheet" type="text/css" href="/sites/site/Documents/file.css" />
This works, but I don't know if it's the best.
Another way would be:
SPComponentLoader.loadCss("/sites/site/Documents/file.css");
This second way I haven't tried it yet, but it might be good.
What do you say?
Thanks