Hi,
Using .NET Core 8 for our projects.
What is the best way to switch between Development and Release environments when using the themesettings.json file and Metronic?
We want to use all minified files in Release and unminified for Development. Usually in the layout files, we'd use a tag like: <environment names="Development"> </environment> and so on for Release.
Is there a mode or recommended way that the themesettings.json file should be used to switch between environments? Wanted to ask before we go and manipulate this file to make it work.
Thank you,
Sam
Hi Sam,
Sorry for the late reply.
Our themeconfig.json contains a set of properties used to setup the layout and plugin CSS and JS file mapping. This file should be the same for development and production modes.
If for some reason you want to load different files for production and development you can change file path dynamically base on your environment in Starterkit/Program.cs.
Regards,
Lauris Stepanovs,
Keenthemes Support Team