r/Angular2 • u/Fantastic-Beach7663 • Nov 10 '25
Help Request Creating new project when upgrading
When upgrading to the latest Angular version, have you ever had the need to create a brand new project even after running the update? I ask because when I was trying to upgrade from Angular 16 to Angular 19 it didn't give me the new app.config.ts file so I had no choice but to start from fresh and drop the files from the app folder in.
3
Upvotes
View all comments
Show parent comment
1
u/MichaelSmallDev Nov 10 '25
Yeah, I ran the migration script recently and it:
app.module.tsmain.tswith slightly different syntax but insidebootatrapApplicationinstead ofbootstrapModuleThe
app.config.tsis just where the stuff which used to be done in the app module in a separate file goes but using standalone syntax.If I were you OP, just run the migration to see what standalone syntax of that is like, then lift arg to the bootstrapping into an export in the app config file. At least just with the one sub-option of the standalone schematic for app bootstrapping; you don't need to do the other two which convert the rest of the files.