How to include jQuery in a Gatsby.js project?
If you want to add jQuery as an external (load from CDN) to gastby, it’s a bit tricky. You’d need to: add jquery CDN to html.js add external to webpack config in gatsby-node.js Add jQuery to html.js ⚠️ Edit: This should be done via gatsby-ssr, please refer @rosszember answer for context.. You’ve probably already done … Read more