I want to add list, site column, content type etc to a SharePoint framework app using may be yeoman generator or anything else, i know it might be achieved by API calls but i want to add like the way we can add list, columns, content types to SharePoint hosted app by Add->New Item->List etc. Actually i don't want to add the list on run time. Any help ????
You can provision SharePoint columns, content types and lists. These will get provisioned when you install a sppkg in a site. It also supports upgrading. I have implemented this practically. I can help you with any issues.
Please make sure the feature id in an Elements.xml file same as in the article if you are inheriting from custom list.
This is covered in the SharePoint Framework documentation with the "obvious" title Provisioning SharePoint assets from your SharePoint client-side web part
Creating lists, site columns and content types aren't supported (yet). The SharePoint Framework currently only supports web parts.