How can I add back the OnInit lifecycle hook and constructor when generating a component in Angular 15?

78 views Asked by At

I know it has been removed in the latest version, so you can add it manually, but i don't really want do copy and paste everytime I generate a component.

I've already found something at this link, but i can't seem to find the files. What should i tweak and how?

0

There are 0 answers