When using class components with your NativeScript Vue single file components written in TypeScript, you'll need to navigate from component to component using the $navigateTo function. This function, and other NativeScript-Vue specific functions, aren't part of the Vue libs so they don't have TypeScript typings in NativeScript. When you build the project and run it, everything works, but you get an ugly error on the console during build. In this NativeScript Tutorial, I show you how to fix that error for the $navigateTo function, and this technique can be applied to other NativeScript-Vue functions like it.
If you haven't used TypeScript class components in your NativeScript Vue applications, then you should start with my previous videos on how to get started with them:
►NativeScript-Vue with TypeScript and Class Components
• NativeScript-Vue with TypeScript and Class...
►Using TypeScript Class Components in NativeScript Vue
• Using TypeScript Class Components in Nativ...
► SHARE
Share this video with a friend to help them with their native VueJS apps:
• NativeScript Vue Manual Routing Function T...
Share the entire NativeScript playlist to help your friends with their native iOS and Android apps written with JavaScript:
• NativeScript Tutorials
► ASK
If you have a topic you want me to make a video about use #iscriptnative in the comments.
►LET'S CONNECT
Alex on Twitter: / digitalix
NativeScripting on Twitter: / nativescripting
► FREE + PREMIUM NATIVESCRIPT COURSES
https://nativescripting.com
Take 25% off any premium NativeScript course by using the coupon code YOUTUBE
Auf dieser Seite können Sie das Online-Video NativeScript Vue Manual Routing Function Typing | NativeScript Tutorial Vue mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Alex Ziskind 29 April 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,530 Mal angesehen und es wurde von 47 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!