How do I use AddPnPJavascriptLink and Block to add the CSS to the third party js

Occasional Contributor

I am adding references to my external library and it loads fine in the page


Connect-PNPOnline -Url -Credential sp
Add-PnPJavaScriptLink -Name JQuery -Url -Sequence 100
Add-PnPJavaScriptLink -Name Angular -Url 


Problem I have is I have all these library but they have css files associated to them.  How do I register the CSS so they are also available on all my pages?

2 Replies
How about import CSS in alternative CSS file?



You can also use this pattern to inject CSS using custom actions:


Br, Ivan