chore(): begin adding ionic components to mono-repo.

This commit is contained in:
Josh Thomas
2017-06-21 09:33:06 -05:00
parent 1181fe98fc
commit bd5b67304d
2159 changed files with 15687 additions and 147 deletions

View File

@ -0,0 +1,4 @@
<!-- Generated template for the $CLASSNAME component -->
<div>
{{text}}
</div>

View File

@ -0,0 +1,16 @@
import { NgModule } from '@angular/core';
import { IonicModule } from 'ionic-angular';
import { $CLASSNAME } from './$FILENAME';
@NgModule({
declarations: [
$CLASSNAME,
],
imports: [
IonicModule,
],
exports: [
$CLASSNAME
]
})
export class $CLASSNAMEModule {}

View File

@ -0,0 +1,3 @@
$FILENAME {
}

View File

@ -0,0 +1,6 @@
describe('$CLASSNAME', () => {
it('should do something', () => {
expect(true).toEqual(true);
});
});

View File

@ -0,0 +1,22 @@
import { Component } from '@angular/core';
/**
* Generated class for the $CLASSNAME component.
*
* See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html
* for more info on Angular Components.
*/
@Component({
selector: '$FILENAME',
templateUrl: '$FILENAME.html'
})
export class $CLASSNAME {
text: string;
constructor() {
console.log('Hello $CLASSNAME Component');
this.text = 'Hello World';
}
}