I am trying to prepare the structure for a project which I know will grow in complexity. I want to use ASP.Net Core MVC for the top level navigation. Within each of the main Views I want to place an Angular 2 Application.
I have started with this Yoman template to scaffold out a starting point Angular 2 with ASP.Net Core Template. This built and ran well.
In the root of my project I want to have an AngularApps
folder and within that a folder for each Angular App, say 'Scheduling', 'Utilities', 'Equipment'.
There are a couple problems I cannot understand:
- How do I configure Webpack?
- Do I have a single
dist
folder withinAngularApps
? - Do I have a
boot-client
andboot-server
file for each Angular 2 application within its respective app folder?
It seems to me a pragmatic approach to plan from the beginning to have multiple Angular 2 applications, each with a more focussed responsibility. I cannot find any clear examples of how to practically make this work though. I'm sure this would be valuable for many people.
Many thanks.