Tobi696
Tobi696

Reputation: 458

Navigating doesn't work in nativescript anymore

I'm developing an app in nativescript vue.
During development, the this.$navigateTo() function stopped working.
Because I was sure, I didn't do anything wrong, I created this example.

It doesn't if I want to preview it on my phone, so I am starting to think it's my phone's fault.
Have I done any mistakes? Does it work on your phone?

Thanks in advance!

Upvotes: 0

Views: 368

Answers (1)

Manoj
Manoj

Reputation: 21908

You can navigate only to a Page, your HelloWorld component is a Page but Next component is not. You should wrap it with Page element

Upvotes: 2

Related Questions