Skip to content

Commit

Permalink
docs(aio): update template forms to CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxandxss committed Oct 30, 2017
1 parent 308fc8e commit c3dd375
Show file tree
Hide file tree
Showing 10 changed files with 116 additions and 376 deletions.
3 changes: 3 additions & 0 deletions aio/content/examples/forms/debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[1030/125931.067:ERROR:process_reader_win.cc(123)] NtOpenThread: {Acceso denegado} Un proceso ha solicitado acceso a un objeto, pero no se le han concedido esos derechos de acceso. (0xc0000022)
[1030/125931.068:ERROR:exception_snapshot_win.cc(87)] thread ID 14068 not found in process
[1030/125931.068:WARNING:crash_report_exception_handler.cc(62)] ProcessSnapshotWin::Initialize failed
Empty file.
1 change: 1 addition & 0 deletions aio/content/examples/forms/src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<app-hero-form></app-hero-form>
3 changes: 2 additions & 1 deletion aio/content/examples/forms/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Component } from '@angular/core';

@Component({
selector: 'app-root',
template: '<app-hero-form></app-hero-form>'
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent { }
3 changes: 2 additions & 1 deletion aio/content/examples/forms/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';

import { AppComponent } from './app.component';
import { HeroFormComponent } from './hero-form.component';
import { HeroFormComponent } from './hero-form/hero-form.component';

@NgModule({
imports: [
Expand All @@ -15,6 +15,7 @@ import { HeroFormComponent } from './hero-form.component';
AppComponent,
HeroFormComponent
],
providers: [],
bootstrap: [ AppComponent ]
})
export class AppModule { }
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
// #docregion , v1, final
import { Component } from '@angular/core';

import { Hero } from './hero';
import { Hero } from '../hero';

@Component({
selector: 'app-hero-form',
templateUrl: './hero-form.component.html'
templateUrl: './hero-form.component.html',
styleUrls: ['./hero-form.component.css']
})
export class HeroFormComponent {

Expand Down
1 change: 1 addition & 0 deletions aio/content/examples/forms/src/styles.1.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import url('https://unpkg.com/bootstrap@3.3.7/dist/css/bootstrap.min.css');

0 comments on commit c3dd375

Please sign in to comment.