Hi,
Sorry for my probably simple question.
I can鈥檛 find master layout or any shared folder for changing theme anywhere?
Do I need to add something?
Br Mads
Layout comes from theme Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic. Theming document isn't ready yet. You can create your own Layout as you did before or create new theme using basic theme.
I will look into that. How do I implement it so I get the files available inside the project?
This is awesome, thank you very much!!
OR: (_my suggest_)
@using Volo.Abp.AspNetCore.Mvc.UI.Theming
@inject IThemeManager ThemeManager
@{
Layout = ThemeManager.CurrentTheme.GetEmptyLayout()
}
///your awesome master layout codes
Then in your pages
Index.cshtml:
```cshtml
@{
Layout = _myLayout.cshtml
}
- Clone the repository
- Make a copy from basic theme into your solution with new naming
- Change ABP local references to NuGet references in YourTheme.csproj
- Start developing
- Add your new theme dependency to your web module
- Set your new theme as default theme in your web module
- Enjoy
@hitaspdotnet where in the webmodule should I set my thermal ?
Most helpful comment
OR: (_my suggest_)
_myLayout.cshtml:
Then in your pages
Index.cshtml:
```cshtml
@{
Layout = _myLayout.cshtml
}