Command
new
Description
When generating a new Angular project there are 2 seperate flags for generating the initial app.ts with inline styles and template.
ng new --inline-style --inline-template --name=app-name
After which additional commands need to be run to set the rest of the project to use inline by default:
ng config schematics.@schematics/angular:component.inlineTemplate true
ng config schematics.@schematics/angular:component.inlineStyle true
Describe the solution you'd like
A flag that will both do the initial generation inline and set the config, from the beginning, I have been using inline when generating projects with A.I and passing a single flag would just be a greater convenience.
ng new --inline --name=app-name
or
ng new --sfc --name=app-name
Something like that would suffice.
Describe alternatives you've considered
No response
Command
new
Description
When generating a new Angular project there are 2 seperate flags for generating the initial app.ts with inline styles and template.
ng new --inline-style --inline-template --name=app-nameAfter which additional commands need to be run to set the rest of the project to use inline by default:
Describe the solution you'd like
A flag that will both do the initial generation inline and set the config, from the beginning, I have been using inline when generating projects with A.I and passing a single flag would just be a greater convenience.
ng new --inline --name=app-nameor
ng new --sfc --name=app-nameSomething like that would suffice.
Describe alternatives you've considered
No response