Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If the app-routing.module.ts and app.module.ts files are not present in an Ionic project, it typically means that the project was created with an older version of Ionic (before version 4) or that the project was created without using the Ionic CLI.

In older versions of Ionic, the app module and routing were not separated into separate files. Instead, they were included in the app.module.ts file.

However, in newer versions of Ionic (starting from version 4), the app module and routing are separated into separate files to help organize the code better and make it more modular.

If the files are not present in the project, it may be necessary to create them manually or update the project to a newer version of Ionic that includes these files.