File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,14 +130,14 @@ Example:
130
130
131
131
``` ruby
132
132
# config/importmap.rb
133
- pin " @github/hotkey" , to: " vendor/javascript/@github--hotkey.js"
134
- pin " md5" , to: " vendor/javascript/md5.js" , preload: false
133
+ pin " @github/hotkey" , to: " @github--hotkey.js " # file lives in vendor/javascript/@github--hotkey.js
134
+ pin " md5" , preload: false # file lives in vendor/javascript/md5.js
135
135
136
136
# app/views/layouts/application.html.erb
137
137
< %= javascript_importmap_tags %>
138
138
139
139
# will include the following link before the importmap is setup:
140
- <link rel="modulepreload" href="/assets/javascripts /@github--hotkey.js">
140
+ <link rel="modulepreload" href="/assets/javascript /@github--hotkey.js">
141
141
...
142
142
```
143
143
You can’t perform that action at this time.
0 commit comments