Lightning Web Runtime (LWR) – outside of the context of Experience Cloud

lightning-web-componentslightning-web-runtimewinter22

Lightning Web Runtime, outside of the context of Experience Cloud, has been featured on the Create User Experiences with Lightning Web Components episode at Dreamforce. What is this pilot about?

Best Answer

LWR is a way to configure and load the modules, services, and dependency providers you need to build a JavaScript app. You can deploy on a variety of runtime environments, depending on your use case. For example, LWR works in a local Node.js runtime, or as a standalone instance in Heroku.

LWR staticsite

You can start by building a simple static website in your local environment. Simply run npm init lwr and follow the wizard steps to scaffold a LWC static site or a single page application.

SPA project files