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
@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:
More Reference:
BR