function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Component vs. Template

Any suggestions on when to use VF component and when to VF Template?


I am creating VF sites pages and wanted to use css not sure which one is easy to maintain.






Best Answer chosen by Admin (Salesforce Developers) 

You might want to use templates to define the layout and the style of your site

and use components for the reusable sections of the layout