Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

Remove jQuery (and other assets)?

Started by Waldemar Pross 8 years ago · 2 replies · 970 views
8 years ago

I am trying to build a very minimalistic and fast website. At the moment bootstrap, jQuery and fontawesome are the biggest resources, not counting images. Whilst I am still deciding whether to use bootstrap, jQuery seems to be core part of Grav.

What is jQuery used for in Grav?
Can I safely remove it?
I know jQuery is used by many other libraries / plugins, but is it required for Grav to work properly?
Or only if the theme / plugins need it?

Thanks!

8 years ago

Grav core doesn't need it unless you're using the debug bar (if I remember correctly). It's theme related.

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 2 weeks ago
4 245 2 weeks ago
Support · by nwhitfield, 2 weeks ago
2 211 2 weeks ago
Support · by stell, 4 weeks ago
5 457 3 weeks ago
Support · by gravinator, 2 months ago
5 636 3 weeks ago
Support · by Gravver, 1 month ago
6 429 4 weeks ago