Lightning Component Mocking
If you havn’t already, make sure to checkout Lightning Base Components (LWC Garden) as the components you wish to use locally may already be supported. This section is for building your own lightning-*
components that are not currently officially supported by Salesforce for local development.
Before jumping into building lightning
components, we need to edit our modules
configuration in our lwr.config.json
file.
Adding an array of dirs
allows us to provide a set of components with the same (lightning) namespace.