You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
In Sapper < 0.4, the client-side app is inserted with this line in template/2xx.html:
<scriptsrc='%sapper.main%'></script>
We need to change that so that Sapper has more control over what is inserted, so that (for example) we can add a JSON blob of data generated in preload on the server, to fix #3.
As of version 0.4, including %sapper.main% will cause an error on startup, linking back to this issue. Instead, templates should include `%sapper.scripts%:
In Sapper < 0.4, the client-side app is inserted with this line in template/2xx.html:
We need to change that so that Sapper has more control over what is inserted, so that (for example) we can add a JSON blob of data generated in
preload
on the server, to fix #3.As of version 0.4, including
%sapper.main%
will cause an error on startup, linking back to this issue. Instead, templates should include `%sapper.scripts%:The text was updated successfully, but these errors were encountered: