Skip to content

Commit 0a5bc66

Browse files
authored
fix(playground): support angular 17 template (#3242)
1 parent b5150ef commit 0a5bc66

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const openAngularEditor = async (code: string, options?: EditorOptions) => {
124124
const appModule = 'src/app/app.module.ts';
125125
const files = {
126126
'src/main.ts': defaultFiles[0],
127-
'src/polyfills.ts': `import 'zone.js/dist/zone';`,
127+
'src/polyfills.ts': `import 'zone.js';`,
128128
[appModule]: defaultFiles[1],
129129
'src/app/app.component.ts': defaultFiles[2],
130130
'src/app/app.component.css': defaultFiles[3],
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"dependencies": {
33
"@ionic/angular": "^6.0.0",
4-
"@ionic/core": "^6.0.0"
4+
"@ionic/core": "^6.0.0",
5+
"@angular/platform-browser-dynamic": "17.0.1"
56
}
67
}
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"dependencies": {
33
"@ionic/angular": "^7.0.0",
4-
"@ionic/core": "^7.0.0"
4+
"@ionic/core": "^7.0.0",
5+
"@angular/platform-browser-dynamic": "17.0.1"
56
}
67
}

0 commit comments

Comments
 (0)