Base solution for your next web application
Open Closed

Minified layout.js missing after release to webserver #5867


User avatar
0
geertveenstra created

Core & jQuery version :

After uploading to website the menu was not working, seems like the minified layout.min.js files in \wwwroot\metronic\src\js\demo\default\base and wwwroot\metronic\src\js\demo\demo8\base. They are not bundled anymore.

I really do not want to critisize here, but I am wondering why this was not found in testing. Don't you guys publish finished code to a live website to do a minimal test ?

Or am I doing anything wrong in publishing ?


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @geertveenstra

    Sorry for our late response, have you fixed this problem ?

  • User Avatar
    0
    geertveenstra created

    For now, I added this to bundleconfig.json which fixed it for me.

    { "outputFileName": "wwwroot/metronic/src/js/demo/default/base/layout.min.js", "inputFiles": [ "wwwroot/metronic/src/js/demo/default/base/layout.js" ] }, { "outputFileName": "wwwroot/metronic/src/js/demo/demo8/base/layout.min.js", "inputFiles": [ "wwwroot/metronic/src/js/demo/demo8/base/layout.js" ] }

    Not sure if it is the final solution, leave that up to you :-)

  • User Avatar
    0
    kanes created

    geertveenstra@ solution works for me (for now - till next version).

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks guys. Sorry for this important bug, it will be fixed in https://github.com/aspnetzero/aspnet-zero-core/issues/1892