mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
* chore(e2e): WIP to add files needed for app-scripts * chore(e2e): WIP one e2e test building but with errors * chore(e2e): move e2e.prod to working with app-scripts move shared functions into util, add support for debug flag when running e2e.prod / demos.prod which gets passed to app-scripts * chore(build): fix app-scripts build for all e2e and demos * chore(e2e): update ionic-angular import path * chore(build): update dev paths to work with prod * chore(e2e): get watch working with e2e prod * docs(scripts): update README for running e2e and demos closes #8411 closes #10023
27 lines
429 B
TypeScript
27 lines
429 B
TypeScript
import { Component, NgModule } from '@angular/core';
|
|
import { IonicApp, IonicModule } from '../../../../../ionic-angular';
|
|
|
|
|
|
@Component({
|
|
templateUrl: 'main.html'
|
|
})
|
|
export class E2EApp {
|
|
doRefresh() {
|
|
console.log('DOREFRESH');
|
|
}
|
|
}
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
E2EApp
|
|
],
|
|
imports: [
|
|
IonicModule.forRoot(E2EApp)
|
|
],
|
|
bootstrap: [IonicApp],
|
|
entryComponents: [
|
|
E2EApp
|
|
]
|
|
})
|
|
export class AppModule {}
|