Ruby 和 tweenmax

Ruby And tweenmax

我已经尝试将 Tweenmax 和其他 JavaScript 库添加到我的 Ruby/Spree 应用程序中。

但我没能成功。

我已将单独的文件添加到 assets/javascripts/store

添加将它们包含在 all.js 文件中

但该应用似乎没有 运行 Tweenmax。

有人可以向我解释如何在 Rails & Spree 上将 Tweenmax 添加到 Ruby 吗?

你试过greensock-rails gem吗?

https://github.com/robertpataki/greensock-rails