From the Winter 2022 release, Salesforce shows the dependencies of the Lightning web components in the setup. Whether it is the static resource, another Lightning web component(Lwc), or an apex class, it will be shown in the dependencies tree of the lightning web component.
Follow the below steps to see the dependencies of the Lightning web component(Lwc).
- Go to Setup
- Search
Lightning Components
in the quick find box. -
Select the
Lightning Components
option.
-
Click on the Lightning web component to check the dependencies. In my case,
I will click on
accountList
component. - On the details page, wait 2 seconds for the dependency tree to load.
-
And there you see the dependency tree for the selected Lwc. It shows all dependencies in the hierarchical tree grid.
It displays the details of the components like Name, Label, Type, Namespace
Prefix, Api Version
. Also, you can search through the result. The dependencies components are clickable and you can directly navigate to any of the components.
No comments :
Post a Comment
Hi there, comments on this site are moderated, you might need to wait until your comment is published. Spam and promotions will be deleted. Sorry for the inconvenience but we have moderated the comments for the safety of this website users. If you have any concern, or if you are not able to comment for some reason, email us at rahul@forcetrails.com