Browse Source

Merge pull request #16165 from abpframework/auto-merge/rel-6-0/1846

Merge branch rel-7.0 with rel-6.0
pull/16175/head
Masum ULU 4 years ago
committed by GitHub
parent
commit
440cba9a61
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      docs/en/Themes/LeptonXLite/Angular.md

14
docs/en/Themes/LeptonXLite/Angular.md

@ -14,9 +14,7 @@ To add `LeptonX-lite` into your project,
- Install `@abp/ng.theme.lepton-x`
```bash
yarn add @abp/ng.theme.lepton-x
```
`yarn add @abp/ng.theme.lepton-x`
- Install `bootstrap-icons`
@ -28,12 +26,8 @@ yarn add bootstrap-icons
* [Styles - Angular UI](../../UI/Angular/Theme-Configurations.md)
Add the following style
```json
"node_modules/bootstrap-icons/font/bootstrap-icons.css",
```
Note: You should remove the old theme styles from "angular.json" if you are switching from "ThemeBasic" or "Lepton."
Look at the [Theme Configurations](../../UI/Angular/Theme-Configurations) list of styles. Depending on your theme, you can alter your styles in angular.json.
- Finally, remove `ThemeBasicModule` from `app.module.ts`, and import the related modules in `app.module.ts`
```js
@ -44,7 +38,7 @@ import { SideMenuLayoutModule } from "@abp/ng.theme.lepton-x/layouts";
imports: [
// ...
// do not forget to remove ThemeBasicModule
// do not forget to remove ThemeBasicModule or other old theme module
// ThemeBasicModule.forRoot(),
ThemeLeptonXModule.forRoot(),
SideMenuLayoutModule.forRoot(),

Loading…
Cancel
Save