Hi,
Did you run the .DbMigrator
application to create the database? It has a seed code to create clients for the auhentication (your error says "invalid_client").
If this doesn't solve the problem, please also share logs in the server side (inside the Logs folder of the application). Also, are you using separated identity server configuration (you can share screenshot of your solution structure in Visual Studio)?
You've written:
abp new abp new Acme.BokStore.... (2 times abp new). Is the problem related to that?
Hi,
Lepton theme is bootstrap compatible. Currently, the best way is to override styles by your custom CSS file.
Example For MVC:
Add a style file (e.g. "mystyles.css") into the wwwroot folder:
.lp-opened-sidebar .lp-sidebar, .lp-closed .lp-sidebar {
background-color: blue;
}
Then add this file to the global bundle (in the ConfigureServices
method of your module) to add it to all the pages:
Configure<AbpBundlingOptions>(options =>
{
options.StyleBundles
.Get(LeptonThemeBundles.Styles.Global)
.AddFiles("/mystyles.css");
});
Before the style:
After the style:
It is similar for the angular side.
Inspect element with your browser's developer tools to check the class names to override.
In the future, we will create a theme builder to change color schema easier.
Thank you Don. We'll answer this via email.
Have a nice day.
Hi,
Every module can be a separate solution (like we did for the modules) or you can develop it under a single Visual Studio solution (for example, in the microservice demo, we've included a product module into the solution).
I suggest you to go with a single solution at the beginning since it is easier to develop, test, run and maintain. You know, in a single solution, you can cross reference projects. Assuming you will create your module as layered (like this), your application's domain layer should depend on the module's domain layer and so on (as a good practice, but you don't have to do).
Also, add standard DependsOn
attribute (see the document) when you add a project reference.
You can create a new module (using abp new MyProductName.MyModuleName -t module-pro
- see), then add its projects to the application's solution then add references and dependson attributes. In the future, we will also automate this.
For the UI part, you can investigate the Angular UI modules we've created to understand how a module is developed. We are using them as NPM packages in the main application, however it may not be practical in development. @mehmet can write you more about that.