Is @IonicPage decorator deprecated?

Viewed 621

I tried to remove @IonicPage decorator from my code and everything works fine. But I did not find about it in documentation. @IonicPage segment property doe not work. If I navigate to pages, then URL does not change, URL is always http://localhost (instead of http://localhost/page1). Page example:

@IonicPage({
    segment: 'page1'
})
@Component({
  selector: 'page1',
  template: 'some content'
})
export class Page1 {

}
1 Answers
Related