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

  • (A) RouterModule.forRoot
  • (B) provideRouter
  • (C) useRoutes
  • (D) defineRoutes
πŸ’¬ Discuss
βœ… Correct Answer: (B) provideRouter
Explanation: `provideRouter` is used with standalone components to define routing.
Explanation by: Mr. Dubey
`provideRouter` is used with standalone components to define routing.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
78
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate