How to integrate JqTree in Rails 6 with webpacker, tree is not a function
问题 I am really wanting to know how to integrate jqTree as a webpacker webpack in my Rails 6 application UPDATE:- Using yarn add jqtree seems to have magically cleared up most of my issues however I am currently facing tree is not a function error I am using the Ancestry gem to organise menu items and I need a drag and drop javascript tree view solution that will work nicely with the Ancestry gem. I have picked on jqTree as my desired solutions but I am happy to be persuaded to use an alternative