project scaffolding
This commit is contained in:
parent
f943cef8d1
commit
41477dc29a
@ -2,10 +2,30 @@ import { NgModule } from '@angular/core';
|
|||||||
import { BrowserModule } from '@angular/platform-browser';
|
import { BrowserModule } from '@angular/platform-browser';
|
||||||
|
|
||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
|
import { HeaderComponent } from './header/header.component';
|
||||||
|
import { RecipesComponent } from './recipes/recipes.component';
|
||||||
|
import { RecipesListComponent } from './recipes/recipes-list/recipes-list.component';
|
||||||
|
import { RecipesDetailComponent } from './recipes/recipes-detail/recipes-detail.component';
|
||||||
|
import { RecipesItemComponent } from './recipes/recipe-list/recipes-item/recipes-item.component';
|
||||||
|
import { RecipeListComponent } from './recipes/recipe-list/recipe-list.component';
|
||||||
|
import { RecipeDetailComponent } from './recipes/recipe-detail/recipe-detail.component';
|
||||||
|
import { RecipeItemComponent } from './recipes/recipe-list/recipe-item/recipe-item.component';
|
||||||
|
import { ShoppingListComponent } from './shopping-list/shopping-list.component';
|
||||||
|
import { ShoppingEditComponent } from './shopping-list/shopping-edit/shopping-edit.component';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
AppComponent
|
AppComponent,
|
||||||
|
HeaderComponent,
|
||||||
|
RecipesComponent,
|
||||||
|
RecipesListComponent,
|
||||||
|
RecipesDetailComponent,
|
||||||
|
RecipesItemComponent,
|
||||||
|
RecipeListComponent,
|
||||||
|
RecipeDetailComponent,
|
||||||
|
RecipeItemComponent,
|
||||||
|
ShoppingListComponent,
|
||||||
|
ShoppingEditComponent
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
BrowserModule
|
BrowserModule
|
||||||
|
0
project/src/app/header/header.component.css
Normal file
0
project/src/app/header/header.component.css
Normal file
1
project/src/app/header/header.component.html
Normal file
1
project/src/app/header/header.component.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p>header works!</p>
|
15
project/src/app/header/header.component.ts
Normal file
15
project/src/app/header/header.component.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-header',
|
||||||
|
templateUrl: './header.component.html',
|
||||||
|
styleUrls: ['./header.component.css']
|
||||||
|
})
|
||||||
|
export class HeaderComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
<p>recipe-detail works!</p>
|
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-recipe-detail',
|
||||||
|
templateUrl: './recipe-detail.component.html',
|
||||||
|
styleUrls: ['./recipe-detail.component.css']
|
||||||
|
})
|
||||||
|
export class RecipeDetailComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
<p>recipe-item works!</p>
|
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-recipe-item',
|
||||||
|
templateUrl: './recipe-item.component.html',
|
||||||
|
styleUrls: ['./recipe-item.component.css']
|
||||||
|
})
|
||||||
|
export class RecipeItemComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
<p>recipe-list works!</p>
|
15
project/src/app/recipes/recipe-list/recipe-list.component.ts
Normal file
15
project/src/app/recipes/recipe-list/recipe-list.component.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-recipe-list',
|
||||||
|
templateUrl: './recipe-list.component.html',
|
||||||
|
styleUrls: ['./recipe-list.component.css']
|
||||||
|
})
|
||||||
|
export class RecipeListComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
0
project/src/app/recipes/recipes.component.css
Normal file
0
project/src/app/recipes/recipes.component.css
Normal file
1
project/src/app/recipes/recipes.component.html
Normal file
1
project/src/app/recipes/recipes.component.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p>recipes works!</p>
|
15
project/src/app/recipes/recipes.component.ts
Normal file
15
project/src/app/recipes/recipes.component.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-recipes',
|
||||||
|
templateUrl: './recipes.component.html',
|
||||||
|
styleUrls: ['./recipes.component.css']
|
||||||
|
})
|
||||||
|
export class RecipesComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
<p>shopping-edit works!</p>
|
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-shopping-edit',
|
||||||
|
templateUrl: './shopping-edit.component.html',
|
||||||
|
styleUrls: ['./shopping-edit.component.css']
|
||||||
|
})
|
||||||
|
export class ShoppingEditComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
<p>shopping-list works!</p>
|
15
project/src/app/shopping-list/shopping-list.component.ts
Normal file
15
project/src/app/shopping-list/shopping-list.component.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-shopping-list',
|
||||||
|
templateUrl: './shopping-list.component.html',
|
||||||
|
styleUrls: ['./shopping-list.component.css']
|
||||||
|
})
|
||||||
|
export class ShoppingListComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user