Is it needed to declaring All Pages?

Hello, I’m new on Ionic, and I’m a little bit confused when come to angular (I’m also new on angular), and the problem is I couldn’t get why every page need to be declared on app.module.ts? When I’m not declaring it, then it doesn’t showed like it suppose to be, it throws error and such, so I need to declare all of thing. Anyone can give me the reason of it? Thanks

The build system needs to know what code is used in your app. Otherwise, it can’t include it. Declaring it in the app module is the simplest way to do so.

1 Like

Hmm… Okay, seems like I need learn more about angular. Ahhhh