Sha256: 7787bd2e2274790ff5f17d8c1f6c874d4b0158f413fa8d5596ef479c425b7ac0

Contents?: true

Size: 287 Bytes

Versions: 58

Compression:

Stored size: 287 Bytes

Contents

// Run this example by adding <%%= javascript_pack_tag 'hello_erb' %> to the head of your layout file,
// like app/views/layouts/application.html.erb. Don't forget to uncomment erb tag after adding it to your layout file.

<% name = 'Erb' %>

console.log('Hello world from <%= name %>')

Version data entries

58 entries across 58 versions & 6 rubygems

Version Path
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/webpacker-5.4.4/lib/install/examples/erb/hello_erb.js.erb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/webpacker-5.4.4/lib/install/examples/erb/hello_erb.js.erb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/webpacker-5.4.4/lib/install/examples/erb/hello_erb.js.erb
jetpacker-0.7.0 lib/install/examples/erb/hello_erb.js.erb
webpacker-5.4.4 lib/install/examples/erb/hello_erb.js.erb
jetpacker-0.6.0 lib/install/examples/erb/hello_erb.js.erb
webpacker-5.4.3 lib/install/examples/erb/hello_erb.js.erb
webpacker-5.4.2 lib/install/examples/erb/hello_erb.js.erb
webpacker-5.4.1 lib/install/examples/erb/hello_erb.js.erb
webpacker-5.4.0 lib/install/examples/erb/hello_erb.js.erb
webpacker-5.3.0 lib/install/examples/erb/hello_erb.js.erb
webpacker-5.2.2 lib/install/examples/erb/hello_erb.js.erb
jetpacker-0.5.0 lib/install/examples/erb/hello_erb.js.erb
webpacker-5.2.1 lib/install/examples/erb/hello_erb.js.erb
webpacker-4.3.0 lib/install/examples/erb/hello_erb.js.erb
webpacker-5.2.0 lib/install/examples/erb/hello_erb.js.erb
webpacker-5.1.1 lib/install/examples/erb/hello_erb.js.erb
webpacker-5.1.0 lib/install/examples/erb/hello_erb.js.erb
webpacker-5.0.1 lib/install/examples/erb/hello_erb.js.erb
webpacker-5.0.0 lib/install/examples/erb/hello_erb.js.erb