What are the main differences between site definition and site templates? and
When to use both in custom development of sharepoint apps in all object models?
The following is a clarity and brevity comparison between
site definition and
For more details check Difference Between Site Template and Site Definition
When to use both in custom development of SharePoint apps
If I understand the question correctly, unfortunately you can't create a site definition / Site Template in SharePoint apps, because