Skip to content
This repository was archived by the owner on Oct 13, 2022. It is now read-only.

Commit 092035c

Browse files
committed
Fix duplicate elements (sveltejs/sapper#1725)
1 parent 820f653 commit 092035c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/template.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
<link rel="manifest" href="manifest.json" crossorigin="use-credentials">
1212
<link rel="icon" type="image/png" href="favicon.png">
1313

14-
<!-- Sapper creates a <script> tag containing `src/client.js`
15-
and anything else it needs to hydrate the app and
16-
initialise the router -->
17-
%sapper.scripts%
18-
1914
<!-- Sapper generates a <style> tag containing critical CSS
2015
for the current page. CSS for the rest of the app is
2116
lazily loaded when it precaches secondary pages -->
@@ -29,5 +24,10 @@
2924
<!-- The application will be rendered inside this element,
3025
because `src/client.js` references it -->
3126
<div id="sapper">%sapper.html%</div>
27+
28+
<!-- Sapper creates a <script> tag containing `src/client.js`
29+
and anything else it needs to hydrate the app and
30+
initialise the router -->
31+
%sapper.scripts%
3232
</body>
3333
</html>

0 commit comments

Comments
 (0)