Update template.html

This commit is contained in:
Rich Harris
2018-05-05 11:02:10 -04:00
committed by GitHub
parent 9d6dd4af02
commit 280f48f73e

View File

@@ -22,10 +22,10 @@
</head>
<body>
<!-- The application will be rendered inside this element,
because `templates/main.js` references it -->
because `app/client.js` references it -->
<div id='sapper'>%sapper.html%</div>
<!-- Sapper creates a <script> tag containing `templates/main.js`
<!-- Sapper creates a <script> tag containing `app/client.js`
and anything else it needs to hydrate the app and
initialise the router -->
%sapper.scripts%