2

I have 3 modules: SimpleCalculations, FunnyCalculations, OtherCalculations. Each of them has routing.module.ts file, where I define their child routes and other stuff.

I want to have MainCalculation module, which child routes wold be taken from modules I've already told. And for example I'd add common CanActivate guard to all routes in these modules.

What the right way to do it? I don't want to mess all this routes in one file.

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.