File tree Expand file tree Collapse file tree 4 files changed +29
-5
lines changed
Expand file tree Collapse file tree 4 files changed +29
-5
lines changed Original file line number Diff line number Diff line change 1010// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
1111// about supported directives.
1212//
13- //= require rails-ujs
14- //= require activestorage
15- //= require turbolinks
1613//= require jquery
1714//= require_tree .
Original file line number Diff line number Diff line change 77// To reference this file, add <%= javascript_pack_tag 'application' %> to the appropriate
88// layout file, like app/views/layouts/application.html.erb
99
10- console . log ( 'Hello World from Webpacker' )
10+ require ( "@rails/ujs" ) . start ( )
11+ require ( "turbolinks" ) . start ( )
12+ require ( "@rails/activestorage" ) . start ( )
Original file line number Diff line number Diff line change 22 "name" : " webpacker-rails-5-2" ,
33 "private" : true ,
44 "dependencies" : {
5- "@rails/webpacker" : " 3.5"
5+ "@rails/activestorage" : " ^6.0.0-alpha" ,
6+ "@rails/ujs" : " ^6.0.0-alpha" ,
7+ "@rails/webpacker" : " 3.5" ,
8+ "turbolinks" : " ^5.2.0"
69 },
710 "devDependencies" : {
811 "webpack-dev-server" : " 2.11.2"
Original file line number Diff line number Diff line change 22# yarn lockfile v1
33
44
5+ " @rails/activestorage@^6.0.0-alpha " :
6+ version "6.0.0-alpha"
7+ resolved "https://registry.yarnpkg.com/@rails/activestorage/-/activestorage-6.0.0-alpha.tgz#6eb6c0f49bcaa4ad68fcd13a750b9a17f76f086f"
8+ integrity sha512-ZQneYyDWrazLFZgyfZ3G4h9Q+TxvSQE5BEenBhvusyAeYMVaYxrZU/PWFcbeyiQe5xz1SeN3g/UejU3ytCYJwQ==
9+ dependencies :
10+ spark-md5 "^3.0.0"
11+
12+ " @rails/ujs@^6.0.0-alpha " :
13+ version "6.0.0-alpha"
14+ resolved "https://registry.yarnpkg.com/@rails/ujs/-/ujs-6.0.0-alpha.tgz#d5761d93e19215f5f342229f934d5ca8f6dd22a5"
15+ integrity sha512-6AZcab77PeJQv8RdfryDYh6tAGcndcRnqYaciLiFclADBPFE9Ip978pGCPiKcKGgCg8S1P1nZII+1GNIrUrx+g==
16+
517" @rails/webpacker@3.5 " :
618 version "3.5.5"
719 resolved "https://registry.yarnpkg.com/@rails/webpacker/-/webpacker-3.5.5.tgz#8911c66bcefc8bc6b91270e92f0d39e3c2d43116"
@@ -5921,6 +5933,11 @@ source-map@^0.6.1, source-map@~0.6.1:
59215933 resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
59225934 integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
59235935
5936+ spark-md5@^3.0.0 :
5937+ version "3.0.0"
5938+ resolved "https://registry.yarnpkg.com/spark-md5/-/spark-md5-3.0.0.tgz#3722227c54e2faf24b1dc6d933cc144e6f71bfef"
5939+ integrity sha1-NyIifFTi+vJLHcbZM8wUTm9xv+8=
5940+
59245941spdx-correct@^3.0.0 :
59255942 version "3.1.0"
59265943 resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4"
@@ -6320,6 +6337,11 @@ tunnel-agent@^0.6.0:
63206337 dependencies :
63216338 safe-buffer "^5.0.1"
63226339
6340+ turbolinks@^5.2.0 :
6341+ version "5.2.0"
6342+ resolved "https://registry.yarnpkg.com/turbolinks/-/turbolinks-5.2.0.tgz#e6877a55ea5c1cb3bb225f0a4ae303d6d32ff77c"
6343+ integrity sha512-pMiez3tyBo6uRHFNNZoYMmrES/IaGgMhQQM+VFF36keryjb5ms0XkVpmKHkfW/4Vy96qiGW3K9bz0tF5sK9bBw==
6344+
63236345tweetnacl@^0.14.3, tweetnacl@~0.14.0 :
63246346 version "0.14.5"
63256347 resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"
You can’t perform that action at this time.
0 commit comments