Install Glide.js in Rails 6 with Webpack
问题 I created a new Rails 6 project and I'm trying to install the third party javascript library Glide.js via Webpack. However, it seems like I'm missing a crucial step because it's not working. What I've done so far: Install Glide.js with yarn: yarn add @glidejs/glide Require Glide.js in /app/javascript/packs/application.js : require("jquery") require("@glidejs/glide") require("@rails/ujs").start() require("turbolinks").start() require("@rails/activestorage").start() require("channels") import