mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
chore(demos): convert to aot structure
convert to aot structure
This commit is contained in:
17
demos/src/toolbar/app.component.ts
Normal file
17
demos/src/toolbar/app.component.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
templateUrl: 'page.html'
|
||||
})
|
||||
export class ApiDemoPage {
|
||||
demo = 'Toolbar';
|
||||
favorites = 'recent';
|
||||
apps = 'free';
|
||||
}
|
||||
|
||||
@Component({
|
||||
template: '<ion-nav [root]="root"></ion-nav>'
|
||||
})
|
||||
export class ApiDemoApp {
|
||||
root = ApiDemoPage;
|
||||
}
|
Reference in New Issue
Block a user