Retrieve LWC using Ant Migration tool or mdapi:retrieve command from SFDX
This is going to be a short post but very important as this is related to LWC which is a very powerful product but not much help available on Internet to the date.
This article will help us retrieving Lightning Web Components using Ant Migration tool or mdapi:retrieve command from SFDX.
The SFDX: Create Project with Manifest command DOES NOT include Lightning Component Bundle in the package.xml it creates. So while it will create a force-app/lwc directory it will not retrieve anything.
Solution:
The new Metadata API component is called LightningComponentBundle.
The following XML code should be added to package.xml:
<types>
<members>*</members>
<name>LightningComponentBundle</name>
</types>
It’s truly very complex in this busy life to
listen news on TV, therefore I simply use internet for that reason, and obtain the most recent news.
I will right away grasp your rss as I can’t in finding your e-mail subscription hyperlink or e-newsletter service.
Do you’ve any? Please allow me recognize so that I may subscribe.
Thanks. It is perfect time to make some plans
for the longer term and it’s time to be happy. I’ve read this submit and if I
could I desire to suggest you few interesting issues
or suggestions. Perhaps you can write next articles
relating to this article. I want to read even more issues approximately it!
I’ll right away grab your rss as I can not in finding
your e-mail subscription hyperlink or e-newsletter service.
Do you’ve any? Please allow me recognise in order that I may subscribe.
Thanks.
I’m really enjoying the design and layout of your website. It’s a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often. Did you hire out a designer to create your theme? Outstanding work!