JavaScript for WordPress Forums Gutenberg Development Using jQuery in frontend.js

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #60733
    ldecoker
    Participant

    Hello!

    I tried to use jQuery in frontend.js with no success.
    I always got : ReferenceError: jQuery is not defined

    Did I miss something?

    Thx!

    #60746
    ldecoker
    Participant

    Sorry my mistake. It was only missing the jquery dependency when enqueuing my frontend js.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.