Remove jquery and ll the plugins dependent on it from html

how to remove jquery completely from HTML, I saw docs here, that it mentioned we have to look and remove ourself, does anyone have `package.json` with only those plugins that are not dependent to jquery

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (6)

Hi,

Please refer to this guide to remove jquery based plungs from gulp and webpack build.

Regard.

I think I have already mentioned that in question, I saw this doc already, but what it is saying is that go on each of those libraries and check if it is jquery dependent or not. Instead, if you guys have another set of package.json which contains only those plugins which don't require jquery, that would have been great.

Hi,

We have got your review regarding this and I believe that this is an unfair review. You are judging the feature that is not provided in the original theme. The "No jQuery" documentation guide provides some basic info to remove jQuery from Metronic and obviously it requires some further actions.

The core of Metronic HTML version works well without jQuery. But please note after removing jQuery most of the Apps, Pages, Modal, etc that use some popular jQuery plugins such as Select, Datatables will not work and there are no jquery replacements for those pages.

We know that most of the users use
the HTML version with jQuery and removing the jQuery case is very rare but we did provide some starting point guide for those who really want to remove jQuery.
Also there is Metronic's SPA versions for non jquery users.

Please note that giving such a low review for a feature that is not provided in the original theme is against the Themeforest terms. However, if you are not satisfied with Metronic, you can request a refund https://themeforest.net/refund_requests/new. Full money back is guaranteed.

Regards.

I will definitely update the review once you guys update the documentation at least, sincerely if you guys believe that this theme works even without jquery then you should either upload proper documentation on jquery or at least provide a package.json details without any jquery dependent plugins.

Because I seriously doubt this theme even works without jquery. I tried and even that dropdown was not working on the menus. If it does not work without jquery that's fine too. Just update the documentation `wont work without jquery`, or provide a proper guide. I rated that for the documentation. If you guys update that, I will definitely update my review to 5*.

Hi,

We can provide the package.json without jquery dependencies for you shortly. That would not be a problem. Here we do our best to help our users as much as possible.

To get your issue resolved you do not have to use Themeforest rating, instead, you could just ask here. Please see how many resolved issues we have here.

In your case what did not work as you expected? The core layout of Metronic ? Or you are expecting all features to work without jQuery ? As we mentioned the datatables, select2, etc dependent apps do not work without those jQuery plugins.

By default, Metronic comes with jQuery support but its core layout can work without jQuery. Are we on the same page?

Regards.

Hi,

Please have a look at the updated documentation for the jQuery removal process. Tested well for Metronic demos.

Regards.

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(