mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 02:46:11 +02:00
Enable rails-ujs to support PUT/POST/DELETE properly
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
c7fd8f58f1
commit
47e21958b4
@ -14,6 +14,11 @@ import jQuery from 'jquery/dist/jquery'
|
||||
window.$ = jQuery
|
||||
window.jQuery = jQuery
|
||||
|
||||
import Rails from 'rails-ujs/lib/assets/compiled/rails-ujs.js'
|
||||
|
||||
window.Rails = Rails
|
||||
Rails.start()
|
||||
|
||||
import 'popper.js/dist/popper'
|
||||
import 'bootstrap/dist/js/bootstrap'
|
||||
import 'datatables.net/js/jquery.dataTables'
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
"jquery": "^3.3.1",
|
||||
"lodash": "^4.17.10",
|
||||
"popper.js": "^1.14.3",
|
||||
"rails-ujs": "^5.2.0",
|
||||
"startbootstrap-sb-admin": "^4.0.0",
|
||||
"vue": "^2.5.16",
|
||||
"vue-loader": "14.2.2",
|
||||
|
||||
@ -4741,6 +4741,10 @@ querystringify@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.0.0.tgz#fa3ed6e68eb15159457c89b37bc6472833195755"
|
||||
|
||||
rails-ujs@^5.2.0:
|
||||
version "5.2.0"
|
||||
resolved "https://registry.yarnpkg.com/rails-ujs/-/rails-ujs-5.2.0.tgz#d93f7a969a226c0ae67044172955be8c1cdf49fc"
|
||||
|
||||
randomatic@^3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-3.0.0.tgz#d35490030eb4f7578de292ce6dfb04a91a128923"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user