Angula 4 based Spring-Flo missing files
This commit is contained in:
5
integration/src/app/app.component.d.ts
vendored
Normal file
5
integration/src/app/app.component.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { LibService } from 'spring-flo';
|
||||
export declare class AppComponent {
|
||||
meaning: number;
|
||||
constructor(libService: LibService);
|
||||
}
|
||||
2
integration/src/app/app.component.html
Normal file
2
integration/src/app/app.component.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<my-lib></my-lib>
|
||||
<h3>Meaning is: {{meaning}}</h3>
|
||||
13
integration/src/app/app.component.ts
Normal file
13
integration/src/app/app.component.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { LibService } from 'spring-flo';
|
||||
|
||||
@Component({
|
||||
selector: 'integration-app',
|
||||
templateUrl: './app.component.html',
|
||||
})
|
||||
export class AppComponent {
|
||||
meaning: number;
|
||||
constructor(libService: LibService) {
|
||||
this.meaning = libService.getMeaning();
|
||||
}
|
||||
}
|
||||
2
integration/src/app/app.module.d.ts
vendored
Normal file
2
integration/src/app/app.module.d.ts
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare class AppModule {
|
||||
}
|
||||
12
integration/src/app/app.module.ts
Normal file
12
integration/src/app/app.module.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { LibModule } from 'spring-flo';
|
||||
|
||||
import { AppComponent } from './app.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [ BrowserModule, LibModule],
|
||||
declarations: [ AppComponent ],
|
||||
bootstrap: [ AppComponent ]
|
||||
})
|
||||
export class AppModule { }
|
||||
Reference in New Issue
Block a user