There were natuarally changes between your Angular version (15.0.4) and the one from the tutorial (12.2.5).
Many, if not most, core concepts should still be applicable between those versions.
The absence of app-routing.module.ts
file should be due to a missing --routing
flag during the creation of the project. You can still manually create it and import it into your app.module.ts
file, like you can probably see in the tutorial you're following.
In version 15 the Angular team decided to remove certain config files, including:
- .browserslistrc
- polyfills.ts
- test.ts
- karma.config.js
- environment.ts
- environment.prod.ts
The reasoning behind it is that apparently many developers weren't using these files. You can still add them manually and use them, it's just the CLI that doesn't generate them anymore. You need to keep in mind that certain files require additional changes inside the project like inside the angular.json
file for example.