#ActivatedRoute and standalone components

7 messages · Page 1 of 1 (latest)

inland junco
#

Why did u add activated route to the providers?

#

The idea is to use provideRouter(routes) at the root

crude shale
#

Yes I have provideRouter(routes) in my app.config.ts.

inland junco
#

So why would u do providers: [ActivatedRoute] ?

#

You shouldnt need that.