Você está na página 1de 1

to run ng commands -> npm run ng <command>

CREARE APLICATIE
ng new <project name>

INITIALIZARE APLICATIE IN CARE LUCREZ


ng init <project name>

PUBLICARE PROIECT
ng serve

GENERATE PARTS OF YOUR APPLICATION


ng generate / ng g

Components are the foundation of Angular development


ex: ng generate component <new component name>

In addition to generating components, we can generate modules.


Modules are a way we can encapsulate similar functionality into a section of our
app.

BUILDING THE APP


ng build
ng build --prod //for production

Você também pode gostar