We will add easier way to define default theme. I have opened issue. But for a now. go to your app.module.ts
import {LPX_THEMES,LPX_THEME_STYLES_DEFAULTS} from "@volosoft/ngx-lepton-x";
const defaultThemes = [...LPX_THEME_STYLES_DEFAULTS].map((theme) => {
const defaultTheme = theme.styleName === "dim";
return {...theme,defaultTheme}
})
// add this as proveder/
{
provide:LPX_THEMES,
useValue: defaultThemes
}
It seems ABP core modules are not provided. Could you check your imports of TariffModule
?
It is not related, but you can use the direct TS version of the module. You don't have to use a compiled version. Just add the index.ts path; it should work without compiling specifically. CORE_OPTIONS defined in CoreModule.forRoot()
With angular, those kind of wizard is easy. lepton-x source code already has html version. just a service and a couple of ngIf you can create your same wizard too.
I have tested and I couldn't produce any issue. I created an app with the code that below. Can you share your package.json please?
abp new Support5573 -t app-pro -u angular -m none --database-provider ef -csf --version 7.3.2
maybe lepton-x version and abp version did not match. I would check the lepton-x version. it must be "~2.3.0"
If you want to add the angular UI of the package, you can use
abp add-package @volo/abp.commercial.ng.ui --with-source-code
on Angular folder.
You be able to customize the suite's template. https://docs.abp.io/en/commercial/latest/abp-suite/editing-templates
Suite uses the file that in .suite folder on angular. If you are updated, you should remove the .suite folder on angular. Then execute suite, it must be fixed.
There was a bug . it fixed 7.3.1. npm i does not work but yarn install is work. if you are installing yarn globally and go to
C:\Repos\ClimateCamp\angular\.suite
and run yarn install
. then it will work well.
If you update your ABP Suite to version 7.3.1, it must be fixed.