Browse Source

update lepton-x post

pull/9804/head
bnymncoskuner 5 years ago
parent
commit
bbb1e755ae
  1. 8
      docs/en/Blog-Posts/2021-07-28-lepton-x-release/POST.md

8
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", "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 ```js
import { ThemeLeptonXModule } from '@abp/ng.theme.lepton-x'; import { ThemeLeptonXModule } from '@abp/ng.theme.lepton-x';
@ -46,9 +46,6 @@ import { SideMenuLayoutModule } from '@abp/ng.theme.lepton-x/layouts';
@NgModule({ @NgModule({
imports: [ imports: [
// ... // ...
// do not forget to remove ThemeBasicModule
// ThemeBasicModule.forRoot(),
ThemeLeptonXModule.forRoot(), ThemeLeptonXModule.forRoot(),
SideMenuLayoutModule.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. 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 ```js
import { ThemeLeptonXModule } from '@volosoft/abp.ng.theme.lepton-x'; import { ThemeLeptonXModule } from '@volosoft/abp.ng.theme.lepton-x';
@ -154,7 +151,6 @@ import { AbpSideMenuLayoutModule } from '@volosoft/abp.ng.theme.lepton-x/layouts
// ... // ...
imports: [ imports: [
// ... // ...
// ThemeLeptonModule.forRoot(),
ThemeLeptonXModule.forRoot(), ThemeLeptonXModule.forRoot(),
AbpSideMenuLayoutModule.forRoot(), // depends on which layout you choose AbpSideMenuLayoutModule.forRoot(), // depends on which layout you choose
// ... // ...

Loading…
Cancel
Save