NativeScript Vue Manual Routing Function Typing | NativeScript Tutorial Vue

preview_player
Показать описание
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

►Using TypeScript Class Components in NativeScript Vue

► SHARE
Share this video with a friend to help them with their native VueJS apps:
Share the entire NativeScript playlist to help your friends with their native iOS and Android apps written with JavaScript:

► ASK
If you have a topic you want me to make a video about use #iscriptnative in the comments.

►LET'S CONNECT

► FREE + PREMIUM NATIVESCRIPT COURSES
Take 25% off any premium NativeScript course by using the coupon code YOUTUBE
Рекомендации по теме
Комментарии
Автор

Are you using TypeScript class components in your NativeScript Vue apps? Let me know down below.

AZisk
Автор

For now, I am using NativeScript Core, but Nativescript Vue looks promising. And for sure I will use TypeScript class components when I use Nativescript Vue.

ycherniavsky
Автор

This is Great Alex
I never be know the solution without this video
Also the issue not only with the error in compilation when debugging
The app won't release build with this error
But now i think i can make release build
Thank's

mohammedalarayshi
Автор

Hello Alexander. Excelent videos!! Could I write an email to ask you about a problem I have with $ navigationTo?

hernanlacanna
visit shbcf.ru