Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Angular CLI
Search
Alejandra Bustos
July 16, 2016
Programming
400
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Angular CLI
Alejandra Bustos
July 16, 2016
More Decks by Alejandra Bustos
See All by Alejandra Bustos
Saca tu potencial contribuyendo a proyectos Open Source
alessbn
0
300
Other Decks in Programming
See All in Programming
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
170
Jetpack Compose Mechanisms
skydoves
2
710
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
mrbgem 三角測量 開発
ogom
0
230
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
650
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
110
パスワード再設定メールのURLについて知っておこう
uyuki234
0
130
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
280
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
150
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
350
wkhtmltopdfの次どうするか問題2026
willnet
2
1.9k
Featured
See All Featured
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Fireside Chat
paigeccino
43
4.1k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
The agentic SEO stack - context over prompts
schlessera
0
970
Navigating Team Friction
lara
192
16k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
300
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
580
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
Building an army of robots
kneath
307
47k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Transcript
Angular CLI A command line interface for Angular
Configuración Angular 2 • Crear la estructura del proyecto •
Instalar y configurar Typescript • Configurar System.js • Creación de componentes
None
None
¡Empecemos! npm install -g angular-cli ng new PROJECT_NAME
// configuration files |- config/ |----- environment.dev.ts |----- environment.js |-----
environment.prod.ts |----- karma-test-shim.js |----- karma.conf.js |----- protractor.conf.js // end-to-end-tests |- e2e/ |----- app.e2e.ts |----- app.po.ts |----- tsconfig.json |----- typings.d.ts // npm dependencies |- node_modules/ // public facing app. built things go here |- public/ // where most of the work will be done |- src/ |----- app/ |----- shared/ |----- index.ts |----- environment.ts |----- index.ts // our first generated component |----- project_name.component.css|html|spec.ts|ts |----- favicon.ico |----- icon.png |----- index.html |----- main.ts |----- manifest.webapp |----- system-config.ts |----- tsconfig.json |----- typings.d.ts // overall configuration |- typings/ |- .clang-format |- .editorconfig |- .gitignore |- angular-cli-build.js
None
ng new OPTIONS --dry-run --verbose --skip-npm --skip-git --directory
ng generate Component ng g component my-new-component Directive ng g
directive my-new-directive Pipe ng g pipe my-new-pipe Service ng g service my-new-service Class ng g class my-new-class Interface ng g interface my-new-interface Enum ng g enum my-new-enum
ng serve http://localhost:4200/ ng serve --port 4201 --live-reload-port 49153
Testing ng test
GitHub Pages ng github-pages:deploy --message "Optional commit message"
Integración con CSS • sass (node-sass) • less (less) •
compass (compass-importer + node-sass) • stylus (stylus) npm install node-sass
Importante https://cli.angular.io/ https://github.com/angular/angular-cli