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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Alejandra Bustos
July 16, 2016
Programming
410
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Angular CLI
Alejandra Bustos
July 16, 2016
Transcript
14 slides
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
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
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
200
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
350
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
15
12k
AI Augmentation Techniques with Liberty
ivargrimstad
1
520
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
320
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
270
将来の標準フォーマッター?ktfmtを深堀る
t45k
0
220
あなたはMCPの機能を、まだ知らない。
4geru
1
630
テストだけで見つかる? Rubyでつくるメソッド発掘器
izawa
0
120
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
380
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
150
Featured
See All Featured
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
600
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
What's in a price? How to price your products and services
michaelherold
247
13k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
350
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
YesSQL, Process and Tooling at Scale
rocio
174
15k
A better future with KSS
kneath
240
18k
Practical Orchestrator
shlominoach
192
12k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k