From ac36ff5132d6e4ea43688629ff48380503f6d763 Mon Sep 17 00:00:00 2001 From: splincode Date: Wed, 25 Sep 2024 16:49:49 +0300 Subject: [PATCH 1/4] chore: remove redundant line --- .../modules/app/stackblitz/project-files/src/main.ts.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md b/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md index 5568c52ca0cc..96adbc08416f 100644 --- a/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md +++ b/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md @@ -3,7 +3,7 @@ import 'zone.js'; import {bootstrapApplication} from '@angular/platform-browser'; import {provideAnimations} from '@angular/platform-browser/animations'; import {Component} from '@angular/core'; -import {TuiRoot, tuiAssetsPathProvider} from '@taiga-ui/core'; +import {TuiRoot} from '@taiga-ui/core'; import {NG_EVENT_PLUGINS} from '@taiga-ui/event-plugins'; import {App} from './app/app.component'; @@ -24,12 +24,6 @@ bootstrapApplication(Root, { provide: 'Pythons', useValue: ['John Cleese', 'Eric Idle', 'Michael Palin', 'Graham Chapman', 'Terry Gilliam', 'Terry Jones'], }, - /** - * A workaround for StackBlitz only (it does not support assets). - * Don't use this approach in real-world applications! - */ - // TODO: remove `next/` after 4.0 release - tuiAssetsPathProvider('https://taiga-ui.dev/next/assets/taiga-ui/icons'), ], }); ``` From dfd246f1388a2a122ec1e74f8dbdb30357ca671a Mon Sep 17 00:00:00 2001 From: splincode Date: Wed, 25 Sep 2024 16:49:49 +0300 Subject: [PATCH 2/4] chore: drop next path --- .../demo/src/modules/app/stackblitz/project-files/src/main.ts.md | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md b/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md index 96adbc08416f..6351e300619a 100644 --- a/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md +++ b/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md @@ -19,6 +19,7 @@ class Root {} bootstrapApplication(Root, { providers: [ provideAnimations(), + tuiAssetsPathProvider('https://taiga-ui.dev/assets/taiga-ui/icons'), NG_EVENT_PLUGINS, { provide: 'Pythons', From 12c2089f4e20dc4faf7d90027c9fb03654c4078b Mon Sep 17 00:00:00 2001 From: Maksim Ivanov Date: Sat, 28 Sep 2024 11:58:53 +0300 Subject: [PATCH 3/4] chore: update main.ts.md --- .../src/modules/app/stackblitz/project-files/src/main.ts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md b/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md index 6351e300619a..da8b7fc34682 100644 --- a/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md +++ b/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md @@ -3,7 +3,7 @@ import 'zone.js'; import {bootstrapApplication} from '@angular/platform-browser'; import {provideAnimations} from '@angular/platform-browser/animations'; import {Component} from '@angular/core'; -import {TuiRoot} from '@taiga-ui/core'; +import {TuiRoot, tuiAssetsPathProvider} from '@taiga-ui/core'; import {NG_EVENT_PLUGINS} from '@taiga-ui/event-plugins'; import {App} from './app/app.component'; From 0cc03f9d1ee3cdfcfa7cc254386e9c666acec192 Mon Sep 17 00:00:00 2001 From: Maksim Ivanov Date: Mon, 30 Sep 2024 11:57:04 +0300 Subject: [PATCH 4/4] chore: update main.ts.md --- .../src/modules/app/stackblitz/project-files/src/main.ts.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md b/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md index da8b7fc34682..9c111adfffb7 100644 --- a/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md +++ b/projects/demo/src/modules/app/stackblitz/project-files/src/main.ts.md @@ -19,6 +19,10 @@ class Root {} bootstrapApplication(Root, { providers: [ provideAnimations(), + /** + * A workaround for StackBlitz only (it does not support assets). + * Don't use this approach in real-world applications! + */ tuiAssetsPathProvider('https://taiga-ui.dev/assets/taiga-ui/icons'), NG_EVENT_PLUGINS, {