-
Angular has an option for this! Add to your angular.json: "schematics": { "@schematics/angular:component": { "displayBlock": true } } Then the
ng generate component
command will includedisplay: block;
every time. No need to remember! @marcushellberg/1311413547780378625