-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
Add native ECR support #1858
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have docs on setting up Kilt and using ECR embedded in your page https://luckyframework.org/guides/frontend/rendering-html#rendering-html-with-templates-ecr-slang-etc
But this setup is a bit complicated since it relies on you setting up a full Lucky::Page then embedding your ECR within it.
You can also use ECR directly from your action, but it's not as straight forward, and not documented:
We should just make a method like
Only wonky thing I'm not a fan of is that variables have to be defined in this weird floating area. You'd have to tell Ameba to ignore these because they'd be used in the template. But this would be fairly close to how Kemal works https://kemalcr.com/guide/#views-templates
The text was updated successfully, but these errors were encountered: