Is it possible to refer external styles and scripts in lightning? How?



Is it possible to refer external styles and scripts in lightning? How?..

Answer / Anupam Bharati

Yes, it's possible to reference external styles (CSS) and scripts (JavaScript/Aura/LWC) in Lightning. For CSS, use the `lightning:styles` component and for JavaScript, you can use either the Aura or LWC methodologies.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Salesforce Interview Questions

Is lightning components replacing visualforce ? : salesforce lightning component

1 Answers  


What is 'SOQL'?

1 Answers  


What is a data type in salesforce?

1 Answers  


Can you throw some light on assignment rules? How do you set up an assignment rule?

1 Answers  


What is a Fiscal Year in Salesforce?

1 Answers  


What are the considerations for skinny table? : salesforce crm

1 Answers  


When group by is used, how to write or use the where clause in soql ?

1 Answers  


What is the difference between 15 digit and 18 digit id in salesforce?

1 Answers  


Difference between force.com ide and sandbox?

1 Answers  


What is recursive workflow rule? How to avoid recursive workflow rules?

1 Answers  


What are the pros and cons when using a workflow rule field update vs. A formula field?

1 Answers  


List things that can be customized on page layouts?

1 Answers  


Categories