Build Fast, Efficient Experiences with the LWC-Based Template (Developer Preview)
Where: This developer preview applies to communities accessed through Lightning Experience and Salesforce Classic in Developer editions.
Why: The Build Your Own (LWC) template is based exclusively on the Lightning Web Components programming model and delivers unparalleled performance and page load speeds. Since the previous release, we made several enhancements, including:
- Flexible layouts for pages so you can adjust the spacing between columns in the same way as in Aura communities.
- New Tile Menu and Rich Content Editor components.
- Several limitations removed so that @salesforce
modules can provide more consistent behavior between Aura and LWC communities.
Referential integrity is supported—for example, you no longer must
republish the community when a content asset name changes. Also, the following
@salesforce modules are now supported:
- @salesforce/messageChannel (Beta)
How: To start using the template, from Setup, enter Communities Settings in the Quick Find box, and then select Communities Settings. Select Enable the Build Your Own (LWC) template, and save your changes.
After you enable the template, it appears in the community creation wizard.