Problem with routes

Hi, i am with that error in my app:

My code is:


Any help?

You have to call navigate() on a view instance router, for example:


1 Like

I did the test as you mentioned but the message persists.

You are still calling it in a wrong way as error says