Jun 15, 2020

Create a minimal Angular app

Everyone hates unwanted automation.

Angular cli has always tested my patience in regard.

So, I just want to pin down this note on how to tell the damn tool to generate only essential files.

mkdir my_app
cd my_app
npx @angular/cli new my_app \
    --directory=. \
    --newProjectRoot=. \
    --commit=false \
    --minimal=true \
    --skipInstall=true \
    --skipGit=true \
    --skipTests=true \
    --inlineTemplate=true \
    --inlineStyle=true \
    --routing=true \

You can add --dryRun=true to check what this scumbag will create.

Have any comments?
Send me an email mapperr@sdf.ee
or post on my public mailing list ~mapperr/public-inbox@lists.sr.ht