From 9762ec0d1a54fb0974aee3dac6b2d9cb6ab29192 Mon Sep 17 00:00:00 2001 From: Ramon Ornelas Date: Sun, 25 Sep 2016 23:28:06 -0300 Subject: [PATCH] fix(templates): add template tabs #8207 --- scripts/templates/tabs/html.tmpl | 3 +++ scripts/templates/tabs/scss.tmpl | 3 +++ scripts/templates/tabs/ts.tmpl | 13 +++++++++++++ 3 files changed, 19 insertions(+) create mode 100755 scripts/templates/tabs/html.tmpl create mode 100755 scripts/templates/tabs/scss.tmpl create mode 100755 scripts/templates/tabs/ts.tmpl diff --git a/scripts/templates/tabs/html.tmpl b/scripts/templates/tabs/html.tmpl new file mode 100755 index 00000000000..5be2eb3561d --- /dev/null +++ b/scripts/templates/tabs/html.tmpl @@ -0,0 +1,3 @@ + + $TAB_CONTENT + diff --git a/scripts/templates/tabs/scss.tmpl b/scripts/templates/tabs/scss.tmpl new file mode 100755 index 00000000000..686be810e2d --- /dev/null +++ b/scripts/templates/tabs/scss.tmpl @@ -0,0 +1,3 @@ +.$FILENAME { + +} diff --git a/scripts/templates/tabs/ts.tmpl b/scripts/templates/tabs/ts.tmpl new file mode 100755 index 00000000000..706281dd658 --- /dev/null +++ b/scripts/templates/tabs/ts.tmpl @@ -0,0 +1,13 @@ +import { Component } from '@angular/core'; +import { NavController } from 'ionic-angular'; +$TAB_IMPORTS + +@Component({ + templateUrl: '$FILENAME.html' +}) +export class $CLASSNAME { + + $TAB_VARIABLES + + constructor(public navCtrl: NavController) {} +}