Hi, let's say that I would like to change the style of m-login__msg in .Mvc\Views\Account_Layout.cshtml (.NET Core and jQuery)
I found the .scss file here: ..Mvc\wwwroot\metronic\src\sass\snippets\custom\pages\user_login-1.scss
If I clean and build in Visual Studio after say, updating the color to red there, I'm not seeing my changes in the browser?
How do I get that change to appear in this dist file?: .Mvc\wwwroot\metronic\dist\html\default\assets\demo\default\base\style.bundle.css
I've tried … - npm run create-bundles - Web Compiler > Compile All Files on compilerconfig.json - clearing caches, etc.
Is it one of the npm commands in project.json?
Thanks --Andy
2 Answer(s)
-
0
Hi @ProjectIridium
The bundle file ".Mvc\wwwroot\metronic\dist\html\default\assets\demo\default\base\style.bundle.css" is not generated by the bundler in the project, it is the distribution of Metronic.
You can include your "user_login-1.scss" into the bundle "account-layout-libs.css" here; https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Mvc/bundleconfig.json#L82
-
0
Awesome, thanks, that works nicely.