Install with:
$ mantrad download-component jquery@1.0.0
Or install last version with:
$ mantrad download-component jquery
README.md
jquery Mantra component
This component defines a simple block to add jQuery library.
The block is named as jquery-block-script.
You can include the jQuery script in your html code including the block, like this:
{{{jquery-block-script}}}
Current version to include jQuery is 3.6.0.
Usually, this addition of the library can be added using Mantra.AddJs() method in a middleware, but in many cases, jQuery library file should be included at the begining of the html document.