SLDS classes in Visualforce components
Issue #1078
resolved
SLDS classes autocomplete works perfectly in Visualforce pages.
Unfortunately, it doesn't work currently in Visuaforce components.
Fixing this would be much appreciated since I wouldn't need to use a Visualforce page to look up SLDS classes.
Comments (2)
-
repo owner -
repo owner - changed status to resolved
I'm resolving assuming that adding the tag fixes the issue, but if it doesn't please reopen with a standalone VF page that reproduces the issue and I'll investigate further.
- Log in to comment
Ivan, you must add the
<apex:slds/>
component to your Visualforce page for the SLDS classes to be available:https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_slds.htm
Please let me know if you don't get completions for SLDS classes in Visualforce once you add that tag to the desired pages.