Skip to content

Instantly share code, notes, and snippets.

@betray32
Last active July 30, 2020 14:26
Show Gist options
  • Save betray32/c665a23198208f031e6c26f37a7d3e1e to your computer and use it in GitHub Desktop.
Save betray32/c665a23198208f031e6c26f37a7d3e1e to your computer and use it in GitHub Desktop.
Chuletas de angular
Crear nuevo proyecto
ng new "proyecto"
Crear un nuevo componente
ng generate component "componente"
Crear un nuevo servicio
ng generate service "servicio"
Generar modulo de routing
ng generate module app-routing --flat --module=app
Instalar api en memoria para pruebas (opcional)
npm install angular-in-memory-web-api --save
Correr servidor
ng serve --open
Actualizar proyecto
npm update
Version del proyecto
npm version
Agregar angular al proyecto
npm install bootstrap jquery @popperjs/core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment