mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(generators): update component generator comments
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<!--
|
||||
Generated template for <%= jsClassName %>.
|
||||
Generated template for the <%= jsClassName %> component.
|
||||
|
||||
See https://angular.io/docs/ts/latest/api/core/ComponentMetadata-class.html
|
||||
for more info on Components.
|
||||
for more info on Angular 2 Components.
|
||||
-->
|
||||
<div>
|
||||
{{text}}
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
import {Component} from 'angular2/core';
|
||||
import {IONIC_DIRECTIVES} from 'ionic/ionic';
|
||||
|
||||
/*
|
||||
Generated class for the <%= jsClassName %> component.
|
||||
|
||||
See https://angular.io/docs/ts/latest/api/core/ComponentMetadata-class.html
|
||||
for more info on Angular 2 Components.
|
||||
*/
|
||||
@Component({
|
||||
selector: '<%= fileName %>',
|
||||
templateUrl: '<%= directory %>/<%= fileName %>/<%= fileName %>.html',
|
||||
|
||||
Reference in New Issue
Block a user