Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

208
Views
¿Dónde puedo encontrar el CDN de Angular 2 o el código fuente?

He estado tratando de descargar el código fuente de angular 2, pero no pude encontrarlo. Busqué en su repositorio de github, pero no pude identificar el correcto. ¿Puede alguien señalarme el CDN que funciona o uno que funcione para que pueda descargarlo?

Editar: necesito obtener la fuente sin usar Node.Js y NPM.

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Puedes usar unpkg.com:

https://unpkg.com/@angular/core@4.0.1/bundles/core.umd.js

https://unpkg.com/@angular/platform-browser-dynamic@4.0.1/bundles/platform-browser-dynamic.umd.js

y así.

Aquí está el ejemplo jsFiddle

 let { Component, NgModule } = ng.core; @Component({ selector: 'my-app', template: ` <h1>Hello, {{ name }}</h1> <button (click)="increment()">Click {{ counter }}</button> `, }) class HomeComponent { counter = 0; name = 'Angular 2' increment() { this.counter++; } } const { BrowserModule } = ng.platformBrowser; @NgModule({ imports: [ BrowserModule ], declarations: [ HomeComponent ], bootstrap: [ HomeComponent ] }) class AppModule { }

Si no quieres usar mecanografiado, aquí está

Plunker Ejemplo Angular es5

over 4 years ago · Santiago Trujillo Report

0

Normalmente usaría angular.io para descargar el inicio rápido o CLI usando NPM, etc. Aquí hay una copia del CDN:

https://gist.github.com/johnpapa/dd9b8a06bf93f4b38a3e

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!