I have created a project site and added some web part document libraries etc. I would like to use this as a template for all the new sites.
How do I do that?
You can use
Save site as template option in SharePoint Online to save your current customized site as a template then use this template as a custom template for the future sites.
But there are some cases where you will missing this option as the following:
SharePoint Server Publishingfeature is currently enabled.
Community Site featureis currently enabled.
Note: any workaround to
savs site as a templatefor the above cases is not supported and not working properly!!
Custom Script, go to SharePoint Admin Center > Settings > Custom Script > Check:
Note: Changes to the above settings might take up 24 hours to take effect!
For more details check