Skip to content

Commit 266fb99

Browse files
committed
docs: add note about placement of the vite_* tags
1 parent 82c5cca commit 266fb99

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ require "lucky_vite"
128128

129129
This shard provides three levels of control over the individual Vite tags.
130130

131+
**Important**: All `vite_*` tags should be placed at the absolute bottom of your
132+
<head> element. HMR functionality will remove all tags between the entry point
133+
tag and the end of head.
134+
131135
#### Hands-off
132136

133137
The `vite_entry_tags` macro method serves all your Vite needs, but it gives you the least amount of control over the individual tags that are generated:

0 commit comments

Comments
 (0)