소스 검색

Add turbolinks to webpacker

Chris Oliver 5 년 전
부모
커밋
f09d409bc0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      template.rb

+ 1 - 1
template.rb

@@ -117,7 +117,7 @@ def add_javascript
   run "yarn add expose-loader jquery popper.js bootstrap data-confirm-modal local-time"
 
   if rails_5?
-    run "yarn add @rails/actioncable@pre @rails/actiontext@pre @rails/activestorage@pre @rails/ujs@pre"
+    run "yarn add turbolinks @rails/actioncable@pre @rails/actiontext@pre @rails/activestorage@pre @rails/ujs@pre"
   end
 
   content = <<-JS