Resources
-Here are some links to help you get started:
- - - - -Next Steps
-What do you want to do next with your app?
- - - -ng generate component xyz-
ng add @angular/material-
ng add @angular/pwa-
ng add _____-
ng test-
ng build --prod-
diff --git a/README.md b/README.md index b5b90e8..bd123cb 100644 --- a/README.md +++ b/README.md @@ -25,3 +25,4 @@ Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protrac ## Further help To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). +# mi-wep-app diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts new file mode 100644 index 0000000..e7c94d8 --- /dev/null +++ b/src/app/app-routing.module.ts @@ -0,0 +1,20 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { Routes, RouterModule } from '@angular/router'; +import { InicioComponent } from './inicio/inicio.component'; +import { LibrosComponent } from './libros/libros.component'; + +const routes: Routes = [ + { path:'', component: InicioComponent }, + { path:'libros', component: LibrosComponent }, +]; + +@NgModule({ + declarations: [], + imports: [ + CommonModule, + RouterModule.forRoot(routes) + ], + exports: [RouterModule] +}) +export class AppRoutingModule { } diff --git a/src/app/app.component.html b/src/app/app.component.html index fdb26fb..505c643 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,532 +1,4 @@ - - - - - - - - - - - - -
- -Here are some links to help you get started:
- - - - -What do you want to do next with your app?
- - - -ng generate component xyz-
ng add @angular/material-
ng add @angular/pwa-
ng add _____-
ng test-
ng build --prod-
Libro en Oferta
+