1

I have implemented the SPFX extension to inject CSS and JS to Sharepoint modern page. I could able to deploy it on-site without any error. But it is rendering my custom CSS and script

How to debug it to see where is the issue?

I have referred to this link to implement it: https://github.com/hugoabernier/react-application-injectcss

leonheess
  • 16,068
  • 14
  • 77
  • 112
user9989023
  • 11
  • 1
  • 4

1 Answers1

0

@user9989023,

You can open F12 tool to see if the css/js file has been loaded or not. Or you can add breakpoint and debug it through remote workbench.

Below is a demo about how to inject CSS/JS:

Result: enter image description here

More Reference:

BR

Baker_Kong
  • 1,739
  • 1
  • 4
  • 9