Yuto Blog

Yuto Blog

Japan, Code and Photo
Tag: jQuery
3 articles
【Ruby on Rails】Hướng dẫn làm chức năng sort với jquery-ui sortable

【Ruby on Rails】Hướng dẫn làm chức năng sort với jquery-ui sortable

Cài đặt jQuery và jQuery-uiyarn add popper.js jquery jquery-uijavascript:config/webpack/environment.jsconst { environment } = require('@rails/webpacker') // Add const webpack =...
Updated by Yuto Yasunaga at 2020/12/11 01:19

【Ruby on Rails】Webpackerにselect2導入メモ

jQuery導入 select2を使う為に、jQueryが必要です。 jQuery導入方法 select2導入 :terminal yarn add select2 ```javascript:app/javascript/packs/application.js import 'select2' import...
Updated by Yuto Yasunaga at 2020/09/19 11:37
Source: qiita.com

【Ruby on Rails】WebpackerでBootstrap、jQueryを導入方法

Webpackerのインストール ruby:Gemfile gem "webpacker" bundle install rails webpacker:install Bootstrapの導入 yarn add bootstrap@4.3.1 jquery popper.js ```javascript:webpacker/environment.js const {...
Updated by Yuto Yasunaga at 2020/08/23 11:12
Source: qiita.com