Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Another framework for web development using NodeJS modules and and NodeJS for development.

Starting a

...

Project

Info
titleshell command

ng new <project name>

Avoid using spaces in the project name

Creating a new

...

Component

Info
titleshell command

navigate into the project folder then execute the comand

ng generate component <component name>

Avoid using spaces the component name

Running an Application

Info
titleshell comand

navigate in the project folder then execute the command

ng serve [--open] [--port <port #>]

--open tells ng to open the default browser once the server is up and running

--port <port #> binds the server to a particular port

...