Base solution for your next web application
Open Closed

Metronic v5 and jquery #4198


User avatar
0
antonis created

I suppose that jquery dependency can now be removed from angular 2 and aspnet core project since the new metronic v5 supports angular by default.

Am I right?

Thanks


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

    Hi @antonis,

    It will not be removed in v5 because we still have some code for jQuery in our components. We can work on this for the next releases.

    Also, we have a custom architecture for Angular in AspNet Zero (handling authentication, exception messages, localization etc...). Metronic's current angular template is not suitable for our usage and we didn't use it for AspNet Zero v5.

    Also, metronic uses jQuery in it's Angular template, so we think it is not realistic to remove jQuery dependency from our Angular template in the short term.

  • User Avatar
    0
    antonis created

    That is so shame. There are dozens of templates out there that support Angular fully. You should have chosen one of these. One of the main goals of new Angular is to remove dependencies to 3rd party libs like jquery and take advantage of angular native futures.

    So shame

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @antonis,

    We are working with metronic more than two years and we don't want to change it for AspNet Zero. Also, most of the themes on the market uses bootstrap and even bootstrap depends on jQuery, <a class="postlink" href="https://v4-alpha.getbootstrap.com/getting-started/javascript/#dependencies">https://v4-alpha.getbootstrap.com/getti ... pendencies</a>.

    I understand your point but I personally think it is extremely hard to develop a real life application without using jQuery.

    Thanks.