I have upload one CSS file in static resource may I know how can we refer it in Lightning Component ??
File Name uploaded as static Resource- bootstrap.css
Static Resource Name-CssFile
Also I have added the CSS code under style in component do i need to remove it.
Please advise ??
Best Answer
In Aura, use
ltng:require
:In LWC, use
loadStyle
: