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.
To clarify, template.html is not a Svelte component, but a template file with % delimiters.
Svelte supports SSR, so it should be possible to make template.html a SSR svelte component. This would make the HTML rendering isomorphic.
In my case, I'm moving a custom koa/svelte SSR app to sapper. All of the HTML was rendered in Svelte components. However, when moving to Sapper, there's the existing template.html which is just a simple search/replace template.
I miss being able to use computed properties, helper functions, child components, etc, in the top level html template/component.
For posterity sake, why does
app/template.html
use%
as a separator, instead of{}
? Also, why not make app/template.html a svelte component?The text was updated successfully, but these errors were encountered: