A

Admin • 833.24K Points
Coach

Q. Which function is used to define routes in standalone components?

  • (A) RouterModule.forRoot
  • (B) provideRouter
  • (C) useRoutes
  • (D) defineRoutes
  • Correct Answer - Option(B)
  • Views: 38
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

`provideRouter` is used with standalone components to define routing.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.