include feature.xml in spfx webpart

%3CLINGO-SUB%20id%3D%22lingo-sub-38092%22%20slang%3D%22en-US%22%3Einclude%20feature.xml%20in%20spfx%20webpart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-38092%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3CBR%20%2F%3EThe%20DOcs%20at%20%3CA%20href%3D%22https%3A%2F%2Fdev.office.com%2Fsharepoint%2Fdocs%2Fspfx%2Fweb-parts%2Fbasics%2Fnotes-on-solution-packaging%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdev.office.com%2Fsharepoint%2Fdocs%2Fspfx%2Fweb-parts%2Fbasics%2Fnotes-on-solution-packaging%3C%2FA%3E%20say%20that%20I%20can%20include%20a%20feature.xml%20with%20my%20spfx%20webpart%20to%20have%20sharepoint%20resources%20provisioned%20for%20a%20webpart.%20They%20dont%20spell%20out%20clearly%20how%20to%20do%20so.%20%26nbsp%3BHow%20can%20i%20use%20this%20to%20have%20a%20custom%20list%20created%20each%20time%20my%20webpart%20is%20deployed.%20Any%20examples%20anywhere%3F%3CBR%20%2F%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

Hi,
The DOcs at https://dev.office.com/sharepoint/docs/spfx/web-parts/basics/notes-on-solution-packaging say that I can include a feature.xml with my spfx webpart to have sharepoint resources provisioned for a webpart. They dont spell out clearly how to do so.  How can i use this to have a custom list created each time my webpart is deployed. Any examples anywhere?
Thanks

0 Replies