I am in the early stages of building an app using Keen's Laravel Metronic 8 template. My app is configured with the Demo1 layout, running version 8.0.35.
In the Laravel Metronic 8 sample app at https://preview.keenthemes.com/metronic8/laravel/login?demo=demo1 , I can toggle back and forth between light and dark modes.
Is this feature feasible to use in a production environment, or is it just in your sample app to show the different options you can choose?
The toggle switch doesn't work in my app. It looks like the dark mode styles are not being copied to the public directory via webpack. I see in the documentation that there is a build option to build for dark mode.
If I run "npm run build --dark-mode", will that only include the dark mode styles?
Is there a way to include both light and dark mode styles, and successfully enable the user to set it to their choice, or would that result in an app that is a nightmare to build and maintain?
Also, when I click the toggle switch from http://my-app.local/dashboard, it just redirects me to /index. Not sure why that is happening, but it appears to be a problem in the theme()->getPageUrl() method.