Рет қаралды 2,465
In the Summer '24 release Salesforce gives us ability to make our Lightning Web Components URL Addressable and navigate to it without using Aura Components.
Before this the only way to navigate to a LWC was by embedding it inside an Aura Component. I had written a blog on it if you wish to learn more about the previous methods please use below link.
www.salesforce...
To generate a URL for your Lightning web component and make it available via a URL, include the lightning__UrlAddressable target in your component’s .js-meta.xml configuration file. Set the isExposed tag to true. The apiVersion tag has no impact on this feature and can be set to an earlier or later version.
To navigate to the custom component, use the lightning/navigation module with the standard__component page reference type.
#refresh #lwc #salesforce
Join me on Instagram : / iamkapilbatra
My journey : www.salesforce...
Blog / Code Snippet : www.salesforce...
Website : www.salesforce...
LinkedIn : / salesforcebolt
Twitter : / salesforcebolt
Facebook : / iamsalesforcebolt