Skip to content

Commit c1949c0

Browse files
committed
Merge branch 'ROU-11416' into ROU-11416-alert
2 parents 953301a + 8557af0 commit c1949c0

File tree

5 files changed

+31
-5
lines changed

5 files changed

+31
-5
lines changed

src/components/global/Playground/stackblitz.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const openAngularEditor = async (code: string, options?: EditorOptions) => {
112112
'angular/main.ts',
113113
'angular/index.html',
114114
'angular/app.routes.ts',
115-
'angular/app.component.ts',
115+
options?.includeIonContent ? 'angular/app.component.withContent.ts' : 'angular/app.component.ts',
116116
'angular/app.component.css',
117117
options?.includeIonContent ? 'angular/app.component.withContent.html' : 'angular/app.component.html',
118118
'angular/example.component.ts',

static/code/stackblitz/v7/angular/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { Component } from '@angular/core';
2-
import { IonApp, IonContent } from '@ionic/angular/standalone';
2+
import { IonApp } from '@ionic/angular/standalone';
33
import { ExampleComponent } from './example.component';
44

55
@Component({
66
selector: 'app-root',
77
templateUrl: 'app.component.html',
88
styleUrls: ['app.component.css'],
9-
imports: [ExampleComponent, IonApp, IonContent],
9+
imports: [ExampleComponent, IonApp],
1010
})
1111
export class AppComponent {
1212
constructor() {}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Component } from '@angular/core';
2+
import { IonApp, IonContent } from '@ionic/angular/standalone';
3+
import { ExampleComponent } from './example.component';
4+
5+
@Component({
6+
selector: 'app-root',
7+
templateUrl: 'app.component.html',
8+
styleUrls: ['app.component.css'],
9+
imports: [ExampleComponent, IonApp, IonContent],
10+
})
11+
export class AppComponent {
12+
constructor() {}
13+
}

static/code/stackblitz/v8/angular/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { Component } from '@angular/core';
2-
import { IonApp, IonContent } from '@ionic/angular/standalone';
2+
import { IonApp } from '@ionic/angular/standalone';
33
import { ExampleComponent } from './example.component';
44

55
@Component({
66
selector: 'app-root',
77
templateUrl: 'app.component.html',
88
styleUrls: ['app.component.css'],
9-
imports: [ExampleComponent, IonApp, IonContent],
9+
imports: [ExampleComponent, IonApp],
1010
})
1111
export class AppComponent {
1212
constructor() {}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { Component } from '@angular/core';
2+
import { IonApp, IonContent } from '@ionic/angular/standalone';
3+
import { ExampleComponent } from './example.component';
4+
5+
@Component({
6+
selector: 'app-root',
7+
templateUrl: 'app.component.html',
8+
styleUrls: ['app.component.css'],
9+
imports: [ExampleComponent, IonApp, IonContent],
10+
})
11+
export class AppComponent {
12+
constructor() {}
13+
}

0 commit comments

Comments
 (0)