From bbb1e755ae22edb48b5bd0dce4ca4d2c9bceb7fb Mon Sep 17 00:00:00 2001 From: bnymncoskuner Date: Wed, 11 Aug 2021 19:44:41 +0300 Subject: [PATCH] update lepton-x post --- docs/en/Blog-Posts/2021-07-28-lepton-x-release/POST.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/en/Blog-Posts/2021-07-28-lepton-x-release/POST.md b/docs/en/Blog-Posts/2021-07-28-lepton-x-release/POST.md index 179b3326cd..18c2d4e0cc 100644 --- a/docs/en/Blog-Posts/2021-07-28-lepton-x-release/POST.md +++ b/docs/en/Blog-Posts/2021-07-28-lepton-x-release/POST.md @@ -37,7 +37,7 @@ with "node_modules/bootstrap-icons/font/bootstrap-icons.css", ``` -* Finally, remove `ThemeBasicModule` and import the related modules in `app.module.ts` +* Finally, remove `ThemeBasicModule` from `app.module.ts` and `shared.module.ts`, and import the related modules in `app.module.ts` ```js import { ThemeLeptonXModule } from '@abp/ng.theme.lepton-x'; @@ -46,9 +46,6 @@ import { SideMenuLayoutModule } from '@abp/ng.theme.lepton-x/layouts'; @NgModule({ imports: [ // ... - - // do not forget to remove ThemeBasicModule - // ThemeBasicModule.forRoot(), ThemeLeptonXModule.forRoot(), SideMenuLayoutModule.forRoot(), ], @@ -144,7 +141,7 @@ The fourth one depends on which layout you want to use. For now, there is only ` The last one is `bootstrap-icons` which are being used throughout the components. -* At last, remove `ThemeLeptonModule` and import the following modules in `app.module.ts` +* At last, remove `ThemeLeptonModule` from `app.module.ts` and `shared.module.ts`, and import the following modules in `app.module.ts` ```js import { ThemeLeptonXModule } from '@volosoft/abp.ng.theme.lepton-x'; @@ -154,7 +151,6 @@ import { AbpSideMenuLayoutModule } from '@volosoft/abp.ng.theme.lepton-x/layouts // ... imports: [ // ... - // ThemeLeptonModule.forRoot(), ThemeLeptonXModule.forRoot(), AbpSideMenuLayoutModule.forRoot(), // depends on which layout you choose // ...