2

I am making ecommerce app in ionic2. While using tabs page I am getting below Runtime error

Uncaught (in promise): invalid link: TabsPage

tabs.ts

import { Component } from '@angular/core';
import { NavController, IonicPage } from 'ionic-angular';
import { TranslateService } from '@ngx-translate/core';

import { HomePage } from '../home/home';
import { WishlistPage } from '../wishlist/wishlist';
import { AccountPage } from '../account/account';


@IonicPage({
  name: 'TabsPage'
})

@Component({
  selector: 'page-tabs',
  templateUrl: 'tabs.html'
})
export class TabsPage {
  tab1Root: any = HomePage;
  tab2Root: any = WishlistPage;
  tab3Root: any = AccountPage;
  myIndex:number

  tab1Title = " ";
  tab2Title = " ";
  tab3Title = " ";

  constructor(public navCtrl: NavController, public translateService: TranslateService) {

  }
}
SUN
  • 973
  • 14
  • 38

0 Answers0