Skip to content

Commit 82c5cca

Browse files
committed
docs: add defer example to vite js link tag
1 parent 58a3996 commit 82c5cca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ If you need different attribtues on style tags than on script tags, you can use
155155

156156
```crystal
157157
vite_client_tag
158-
vite_js_link "main.js"
158+
vite_js_link "main.js", defer: true
159159
vite_css_links "main.js"
160160
```
161161
Together they do the exact same thing as `vite_entry_tags`.

0 commit comments

Comments
 (0)