Skip to content

Commit 8e6700c

Browse files
committed
agrego mas proyectos
1 parent e9376e9 commit 8e6700c

34 files changed

+504
-0
lines changed

ng2-seed/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<h1>Angular2 Seed Project</h1>
2+
<ol>
3+
<li>npm install</li>
4+
<li>npm install materialize-css</li>
5+
<li>npm start</li>
6+
<h6>*typings install (si no te ha generado la carpeta typings)</h6>
7+
</ol>

ng2-seed/app/app.component.html

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<nav class="navbar navbar-default">
2+
<div class="container">
3+
<ul class="nav navbar-nav navbar-left">
4+
<li><a routerLink="">Inicio</a></li>
5+
<li><a routerLink="nosotros">Nosotros</a></li>
6+
<li><a routerLink="contactenos">Contáctenos</a></li>
7+
</ul>
8+
</div>
9+
</nav>
10+
11+
<router-outlet></router-outlet>

ng2-seed/app/app.component.js

+28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ng2-seed/app/app.component.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ng2-seed/app/app.component.ts

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/**
2+
* Created by urielmiranda on 03/10/16.
3+
*/
4+
import { Component } from '@angular/core';
5+
@Component({
6+
selector: 'my-app',
7+
templateUrl: '../app/app.component.html'
8+
})
9+
export class AppComponent { }

ng2-seed/app/app.module.js

+35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ng2-seed/app/app.module.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ng2-seed/app/app.module.ts

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* Created by urielmiranda on 03/10/16.
3+
*/
4+
import { NgModule } from '@angular/core';
5+
import { BrowserModule } from '@angular/platform-browser';
6+
import { AppComponent } from '../app/app.component'
7+
import { InicioComponent } from '../app/inicio/inicio.component'
8+
import { NosotrosComponent } from '../app/nosotros/nosotros.component'
9+
import { routing, appRoutingProvides } from './app.routing'
10+
11+
@NgModule({
12+
imports: [ BrowserModule, routing ],
13+
declarations: [ AppComponent, InicioComponent, NosotrosComponent ],
14+
bootstrap: [AppComponent],
15+
providers: [appRoutingProvides]
16+
})
17+
18+
export class AppModule { }

ng2-seed/app/app.routing.js

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ng2-seed/app/app.routing.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ng2-seed/app/app.routing.ts

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { Routes, RouterModule } from '@angular/router';
2+
import { InicioComponent } from '../app/inicio/inicio.component'
3+
import { NosotrosComponent } from '../app/nosotros/nosotros.component'
4+
5+
const appRoutes: Routes = [
6+
{path:"", component:InicioComponent},
7+
{path:"nosotros", component:NosotrosComponent}
8+
];
9+
10+
export const appRoutingProvides: any[] = [];
11+
export const routing = RouterModule.forRoot(appRoutes);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="container">
2+
<div class="row">
3+
<h1>Este es el inicio</h1>
4+
</div>
5+
</div>

ng2-seed/app/inicio/inicio.component.js

+26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ng2-seed/app/inicio/inicio.component.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import {Component} from "@angular/core"
2+
3+
@Component({
4+
selector: 'hello-world',
5+
templateUrl: '../app/inicio/inicio.component.html',
6+
styles: ['../app/inicio/inicio.component.css']
7+
})
8+
9+
export class InicioComponent {}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
inicio.components.css

ng2-seed/app/main.js

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ng2-seed/app/main.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ng2-seed/app/main.ts

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/**
2+
* Created by urielmiranda on 03/10/16.
3+
*/
4+
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
5+
import { AppModule } from './app.module';
6+
7+
const platform = platformBrowserDynamic();
8+
platform.bootstrapModule(AppModule);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/*
2+
* @Author: Manuel Comi
3+
* @Date: 2016-10-11 20:42:24
4+
* @Last Modified by: Manuel Comi
5+
* @Last Modified time: 2016-10-11 21:48:39
6+
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="container">
2+
<div class="row">
3+
<h1>Nosotros somos batch11</h1>
4+
</div>
5+
</div>

ng2-seed/app/nosotros/nosotros.component.js

+26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ng2-seed/app/nosotros/nosotros.component.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import {Component} from "@angular/core"
2+
3+
@Component({
4+
selector: 'hello-world',
5+
templateUrl: '../app/nosotros/nosotros.component.html',
6+
styles: ['../app/nosotros/nosotros.component.css']
7+
})
8+
9+
export class NosotrosComponent {}

ng2-seed/index.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<html>
2+
<head>
3+
<base href="/">
4+
<title>Angular2 Seed Project </title>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<link rel="stylesheet" href="styles.css">
8+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
9+
<!-- 1. Load libraries -->
10+
<!-- Polyfill(s) for older browsers -->
11+
<script src="node_modules/core-js/client/shim.min.js"></script>
12+
<script src="node_modules/zone.js/dist/zone.js"></script>
13+
<script src="node_modules/reflect-metadata/Reflect.js"></script>
14+
<script src="node_modules/systemjs/dist/system.src.js"></script>
15+
<!-- 2. Configure SystemJS -->
16+
<script src="systemjs.config.js"></script>
17+
<script>
18+
System.import('app').catch(function(err){ console.error(err); });
19+
</script>
20+
</head>
21+
<!-- 3. Display the application -->
22+
<body>
23+
<my-app>Loading...</my-app>
24+
</body>
25+
</html>

ng2-seed/package.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "angular2-seed-project",
3+
"version": "1.0.0",
4+
"scripts": {
5+
"start": "tsc && concurrently \"tsc -w\" \"lite-server\" ",
6+
"lite": "lite-server",
7+
"postinstall": "typings install",
8+
"tsc": "tsc",
9+
"tsc:w": "tsc -w",
10+
"typings": "typings"
11+
},
12+
"license": "ISC",
13+
"dependencies": {
14+
"@angular/common": "~2.0.1",
15+
"@angular/compiler": "~2.0.1",
16+
"@angular/core": "~2.0.1",
17+
"@angular/forms": "~2.0.1",
18+
"@angular/http": "~2.0.1",
19+
"@angular/platform-browser": "~2.0.1",
20+
"@angular/platform-browser-dynamic": "~2.0.1",
21+
"@angular/router": "~3.0.1",
22+
"@angular/upgrade": "~2.0.1",
23+
"angular-in-memory-web-api": "~0.1.1",
24+
"bootstrap": "^3.3.7",
25+
"core-js": "^2.4.1",
26+
"reflect-metadata": "^0.1.8",
27+
"rxjs": "5.0.0-beta.12",
28+
"systemjs": "0.19.39",
29+
"zone.js": "^0.6.25"
30+
},
31+
"devDependencies": {
32+
"concurrently": "^3.0.0",
33+
"lite-server": "^2.2.2",
34+
"typescript": "^2.0.3",
35+
"typings":"^1.4.0"
36+
}
37+
}

ng2-seed/styles.css

Whitespace-only changes.

ng2-seed/systemjs.config.js

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/**
2+
* System configuration for Angular samples
3+
* Adjust as necessary for your application needs.
4+
*/
5+
(function (global) {
6+
System.config({
7+
paths: {
8+
// paths serve as alias
9+
'npm:': 'node_modules/'
10+
},
11+
// map tells the System loader where to look for things
12+
map: {
13+
// our app is within the app folder
14+
app: 'app',
15+
// angular bundles
16+
'@angular/core': 'npm:@angular/core/bundles/core.umd.js',
17+
'@angular/common': 'npm:@angular/common/bundles/common.umd.js',
18+
'@angular/compiler': 'npm:@angular/compiler/bundles/compiler.umd.js',
19+
'@angular/platform-browser': 'npm:@angular/platform-browser/bundles/platform-browser.umd.js',
20+
'@angular/platform-browser-dynamic': 'npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
21+
'@angular/http': 'npm:@angular/http/bundles/http.umd.js',
22+
'@angular/router': 'npm:@angular/router/bundles/router.umd.js',
23+
'@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
24+
// other libraries
25+
'rxjs': 'npm:rxjs',
26+
'angular-in-memory-web-api': 'npm:angular-in-memory-web-api',
27+
},
28+
// packages tells the System loader how to load when no filename and/or no extension
29+
packages: {
30+
app: {
31+
main: './main.js',
32+
defaultExtension: 'js'
33+
},
34+
rxjs: {
35+
defaultExtension: 'js'
36+
},
37+
'angular-in-memory-web-api': {
38+
main: './index.js',
39+
defaultExtension: 'js'
40+
}
41+
}
42+
});
43+
})(this);

0 commit comments

Comments
 (0)