nativescript приложение успешно развернут в устройстве, но при нажатии на кнопку входа он перенаправляет на мою страницу входа в систему, но ничего не будет отображаться то, что я имею:nativescript страница щ не работает
login.component.ts
@Component({
moduleId: module.id,
selector: 'demo-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.css']
})
login.component.tns.html
<StackLayout class="p-10">
<Image src="res://logo_login" stretch="none"
horizontalAlignment="center"></Image>
<TextField [(ngModel)]="email" [hint]="Email Address"
keyboardType="email" autocorrect="false"
autocapitalizationType="none"></TextField>
<TextField [(ngModel)]="password" [hint]="Password" secure="true">
</TextField>
<Button [text]="signin'" class="submit-button" (tap)="login(user)">
</Button>
<Button [text]="signup'" (tap)="signup(user)"></Button>
</StackLayout>
app.component.tns.html
<ActionItem nsRouterLink="/login" ios.position="right"
android.position="popup">
<Button [text]="'LOGIN' | translate" class="action-item"></Button>
</ActionItem>
Фактически, где мне нужно разместить селектор (демонстрационный логин). Любой, пожалуйста, помогите мне решить эту проблему. любая помощь будет очень заметной и очень полезной.
nativescript имя файла tns.html (angular2seedadvanced) https://github.com/NathanWalker/angular-seed-advanced – Khushi