Turn Angular project in an NX monorepo

Yiyi Chen 25 Reputation points
2023-02-06T10:50:53.8233333+00:00

We are going to start a new project that will have multiple client apps like a web based CMS and mobile apps (Android/iOS). Because of the team expertise, we are considering to use Angular with Ionic in an NX monorepo so we can share code between all the apps.

I know .Net has a template for Angular apps so I thought to turn it in a NX monorepo but I didn't really find how to do it other than this blog post that anyway doesn't work for me. I came across nx-dotnet but wraps a C# backend inside a native NX monorepo (I am trying to do the opposite: NX in a .Net project).

Is there any tool or docs about converting the dotnet Angular template in a monorepo? Or what is general a good practice to share code between multiple client apps in a dotnet solution?

I thought about the following alternatives:

  • Init the NX monorepo in a folder and treat it like a normal NX monorepo (not a dotnet project)
  • Use Angular Workspace feature
Developer technologies | .NET | Other
0 comments No comments
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.