This article shows how to save a Site Template in SharePoint and use it for a creating new Custom Template site in SharePoint 2013.
Look at the following points:
Now to use the saved template as a custom template in SharePoint to create a new site.The following is the procedure to create a new site using the custom template.
I hope this will help SharePoint beginners to create a new site using a new custom site template.
Getting Started with SharePoint Framework Development using TypeScript, PnP JS, and React JS