Skip to content

Commit

Permalink
fix: preload in lib template (#9863)
Browse files Browse the repository at this point in the history
Closes #9859
  • Loading branch information
1 parent 8f5f5be commit 7a2a583
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nine-scissors-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': minor
---

feat: Add `data-sveltekit-preload-data` to lib template
2 changes: 1 addition & 1 deletion packages/create-svelte/templates/skeletonlib/src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<body>
<body data-sveltekit-preload-data="hover">
<div>%sveltekit.body%</div>
</body>
</html>

0 comments on commit 7a2a583

Please sign in to comment.