Cordova Core
Cordova Core
Web Code in Browser
Native Code in App
Javascript Code in App
Native Code in App
Mapped Symbols
npm install -g nativescript
tns create my-app-name --ng
# Ready to rock
# Well, not really :(
# Still missing a lot of android/ios c̶r̶a̶p̶ good tools
import {nativeScriptBootstrap}
from 'nativescript-angular/application';
import {Component}
from '@angular/core';
@Component({
selector: 'app',
template: '<Label [text]="hello"></Label>'
})
class AppComponent {
public hello = 'Casa Casita';
}
nativeScriptBootstrap(AppComponent);