These are chat archives for angular/angular-2-ionic-2

11th
Jul 2017
Jonathan Leek
@mrjonleek
Jul 11 2017 01:30
What is the real difference between /components and /pages in Ionic2?
Max Goh
@MaxGoh
Jul 11 2017 07:51
Guys, are you guys able to live-reload ionic on the phone itself?
I did ionic cordova run ios —live-reload —device
it manage to run and stuff, but it ends with process detached
Jonathan Leek
@mrjonleek
Jul 11 2017 22:13
What is the real difference between /components and /pages in Ionic2?
Zurie
@zurie
Jul 11 2017 23:10
Pages have a decorator you can always look up what the decorator compiles to.
Jonathan Leek
@mrjonleek
Jul 11 2017 23:11
Okay... When is using one appropriate over the other?
Zurie
@zurie
Jul 11 2017 23:14
I don't know. But when I make a new page I generate it with the cli. And I get a module with it
Jonathan Leek
@mrjonleek
Jul 11 2017 23:14
@zurie Same thing happens when you generate a component from the CLI...
That's why I'm wondering what the distinction is.
There are almost identical in output.
And usage...
Zurie
@zurie
Jul 11 2017 23:15
I guess either work then.
I like pages for stuff thats a page. And components for pieces in my pages
Like custom header or hero or accordion or whatever if you even need to otherwise just put it all in the page.