Hoàng Nguyên

Joined

810 Experience
8 Lessons Completed
0 Questions Solved

Activity

For people coming from Rails 7, if you have already followed the video and installed jquery, $ is available in developer console; however, the view still raises "Uncaught ReferenceError: $ is not defined".
Try to load the jquery in separate file without "type: module"

    = javascript_include_tag "application", "data-turbo-track": "reload", type: "module"
    = javascript_include_tag "jquery", "data-turbo-track": "reload"