I want to create a site template (lets say leave management system) with newly introduced "Site Design". With site design we can create lists, libraries with some set of columns, installing add-in etc. But I cannot create pages and I cannot push the web part to pages.
With SPFx we cannot create pages, we cannot add web parts to the pages (remaining things can be done).
Question is:
How to deploy lists, libraries, pages, web parts in a single package using modern capabilities in SharePoint like site design, SPFx, MS Flow or any other etc.
Is there a way to achieve in Provider Hosted apps(creating lists, creating pages, installing SPFx, pushing modern web parts to pages)?