Create a bare-bones Angular app with the –minimal flag

Sometimes you want to create a simple Angular app without all the ceremony. The Angular CLI makes that easy. Just use the –minimal flag.

ng new my-app --minimal

An app created with the –minimal flag:

  • does not include any tests
  • HTML is inlined
  • CSS is inlined
  • Components contain everything in one file

Perfect for getting started and simple examples.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.