Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Formation Angular
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aneo Web Talents
Angular
Formation Angular
Commits
f2ad81d1
Commit
f2ad81d1
authored
Aug 01, 2019
by
Emile TAVERNE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajout routing par défaut
parent
71b753b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
app.component.html
src/app/app.component.html
+2
-1
app.module.ts
src/app/app.module.ts
+6
-1
No files found.
src/app/app.component.html
View file @
f2ad81d1
<app-header></app-header>
<app-header></app-header>
<app-page-trombinoscope></app-page-trombinoscope>
<router-outlet></router-outlet>
src/app/app.module.ts
View file @
f2ad81d1
...
@@ -2,6 +2,7 @@ import {BrowserModule} from '@angular/platform-browser';
...
@@ -2,6 +2,7 @@ import {BrowserModule} from '@angular/platform-browser';
import
{
NgModule
}
from
'@angular/core'
;
import
{
NgModule
}
from
'@angular/core'
;
import
{
HttpClientModule
}
from
'@angular/common/http'
;
import
{
HttpClientModule
}
from
'@angular/common/http'
;
import
{
FormsModule
}
from
'@angular/forms'
;
import
{
FormsModule
}
from
'@angular/forms'
;
import
{
RouterModule
}
from
'@angular/router'
;
import
{
AppComponent
}
from
'./app.component'
;
import
{
AppComponent
}
from
'./app.component'
;
...
@@ -23,7 +24,11 @@ import * as Pipes from './pipes';
...
@@ -23,7 +24,11 @@ import * as Pipes from './pipes';
imports
:
[
imports
:
[
BrowserModule
,
BrowserModule
,
HttpClientModule
,
HttpClientModule
,
FormsModule
FormsModule
,
RouterModule
.
forRoot
([
{
path
:
''
,
component
:
Components
.
PageTrombinoscopeComponent
,
pathMatch
:
'full'
},
{
path
:
'**'
,
redirectTo
:
''
}
])
],
],
providers
:
[
providers
:
[
Services
.
PersonService
Services
.
PersonService
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment