Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
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
280
Other Decks in Programming
See All in Programming
なぜ関数型プログラミングで「型」と「証明」が語られるのか #fp_matsuri
kajitack
3
990
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
510
symfony/aiとlaravel/boost
77web
0
140
琵琶湖の水は止められてもNet--HTTPのリトライは止められない / You might be able to stop the water flow of Lake Biwa but you can't stop Net::HTTP retries
luccafort
PRO
0
420
全PRの83%がAIレビューだけでマージできるようになった開発組織はその後どうなったか
athug
0
250
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
110
はてなアカウント基盤 State of the Union
cockscomb
1
1.3k
Apache Hive: Toward a Cloud Native Lakehouse
okumin
0
150
「正の参照」と 「負の導出」で組む ハーネスエンジニアリング
cottpan
1
150
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
0
120
信頼性について考えてみる(SRE NEXT 2026 miniLT)
hayama17
0
200
광주소프트웨어마이스터고등학교 DevFest 특강 - 바이브 코딩 시대에서 주니어 개발자로 살아남는 방법
utilforever
1
150
Featured
See All Featured
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
220
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
500
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
470
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.3k
Become a Pro
speakerdeck
PRO
31
6k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
370
From π to Pie charts
rasagy
0
240
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
Typedesign – Prime Four
hannesfritz
42
3.1k
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
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