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
290
Other Decks in Programming
See All in Programming
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.1k
Verilogで学ぶCPU自作入門.pdf
uyuki234
2
640
[GoCon2026] When Goroutines Are Not Enough: Runtime Locality in High-Throughput Go
takehaya
6
2.4k
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
110
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
180
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
650
アクセシビリティから考える情報設計
high_g_engineer
0
380
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
290
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
130
FreeBSDでZabbixを動かす
kenkino
0
320
wkhtmltopdfの次どうするか問題2026
willnet
2
1.6k
Heart of Swift Concurrency
koher
0
950
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
RailsConf 2023
tenderlove
30
1.6k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
280
Amusing Abliteration
ianozsvald
1
310
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Side Projects
sachag
456
43k
Making the Leap to Tech Lead
cromwellryan
135
10k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
330
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
370
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