-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
template.render is not a function #24
Comments
To shed some light into this, it looks like this library is using sveltekit's ssr render capabilities. This seems to only be available on the server side though. You'll have to render your emails on the server then use them in the frontend. |
@pstoebenau thanks for the clarification. Do you have any idea how I can make this rendering dynamic? According to the docs, I need to place the render in a |
have you found a solution? I want to generate mail templates in a svelte project in "library" mode, I don't understand how to manage the server part for this lib . |
This issue is still valid. I tried to put the |
Stuck with this too! |
When I use the render function I get the following error:
In render.js an (other) render function is called which doesn't exist (or isn't imported). Does anyone has the same problem?
The text was updated successfully, but these errors were encountered: