Adding a test component and routing path in order to test there new components/ code
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@43805 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
7896693521
commit
e11aca3c15
|
@ -10,7 +10,6 @@ import 'rxjs/Rx';
|
|||
<main>
|
||||
<router-outlet></router-outlet>
|
||||
</main>
|
||||
|
||||
</div>`
|
||||
})
|
||||
export class App {
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
// import { routing } from '../app.routing';
|
||||
import { RouterModule } from "@angular/router";
|
||||
|
||||
import { RouterModule } from "@angular/router";
|
||||
|
||||
import {NavigationBarComponent} from './navigationBar.component';
|
||||
|
||||
|
@ -11,12 +10,11 @@ import {NavigationBarComponent} from './navigationBar.component';
|
|||
@NgModule({
|
||||
imports: [
|
||||
CommonModule, FormsModule,
|
||||
// routing,
|
||||
RouterModule
|
||||
|
||||
],
|
||||
declarations: [
|
||||
NavigationBarComponent
|
||||
NavigationBarComponent,
|
||||
|
||||
|
||||
],
|
||||
exports: [
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
import {Component, ElementRef} from '@angular/core';
|
||||
|
||||
|
||||
@Component({
|
||||
selector: 'test',
|
||||
template: `
|
||||
|
||||
|
||||
`
|
||||
})
|
||||
export class TestComponent {
|
||||
}
|
|
@ -9,6 +9,8 @@ import {ProjectTitleFormatter} from './projectTitleFormatter.component';
|
|||
import {PublicationTitleFormatter} from './publicationTitleFormatter.component';
|
||||
import {PagingFormatter} from './pagingFormatter.component';
|
||||
import {AutocompleteComponent} from './autoComplete.component';
|
||||
import {AutocompleteCountriesComponent} from './autoCompleteCountries.component';
|
||||
|
||||
import {ShowDataProvidersComponent} from './showDataProviders.component';
|
||||
import {ExportCSVComponent} from './exportCSV.component.ts';
|
||||
|
||||
|
@ -27,7 +29,8 @@ import {ModalLoading} from './modal/loading.component';
|
|||
PagingFormatter,
|
||||
AutocompleteComponent,
|
||||
ShowDataProvidersComponent,
|
||||
ExportCSVComponent
|
||||
ExportCSVComponent,
|
||||
AutocompleteComponent, AutocompleteCountriesComponent
|
||||
|
||||
],
|
||||
exports: [
|
||||
|
@ -38,7 +41,8 @@ import {ModalLoading} from './modal/loading.component';
|
|||
AlertModal, ModalLoading,
|
||||
AutocompleteComponent,
|
||||
ShowDataProvidersComponent,
|
||||
ExportCSVComponent
|
||||
ExportCSVComponent,
|
||||
AutocompleteComponent, AutocompleteCountriesComponent
|
||||
|
||||
]
|
||||
})
|
||||
|
|
|
@ -21,6 +21,7 @@ import {ServicesModule} from './app/services/services.module';
|
|||
import {HomeComponent} from './app/home/home.component';
|
||||
|
||||
import {ErrorPageComponent} from './app/error/errorPage.component';
|
||||
import {TestComponent} from './app/test/test.component';
|
||||
|
||||
@NgModule({
|
||||
bootstrap: [ App ],
|
||||
|
@ -37,7 +38,8 @@ import {ErrorPageComponent} from './app/error/errorPage.component';
|
|||
],
|
||||
declarations: [ App,
|
||||
HomeComponent,
|
||||
ErrorPageComponent
|
||||
ErrorPageComponent,
|
||||
TestComponent
|
||||
|
||||
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue