Skip to content
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

Using EEx inside components? #14

Open
jaimeiniesta opened this issue May 23, 2023 · 3 comments
Open

Using EEx inside components? #14

jaimeiniesta opened this issue May 23, 2023 · 3 comments

Comments

@jaimeiniesta
Copy link

Is there a way to insert EEx inside components, just like we do in templates?

I've only seen the option to pass opts to a dynamic component and then use string interpolation, but it looks like we can't use EEx inside a component, right?

@akoutmos
Copy link
Owner

That is definitely something that can be added to MJML EEx. My open source capacity is a bit limited at the moment as I'm still working through health issues with the family...so I won't be able to work on this for a couple months. But I would be more than happy to review a PR or provide implementation guidance if you want to tackle this 😄.

@jaimeiniesta
Copy link
Author

Thanks, Alexander!

No worries, family and health go first. Take good care :)

I would love to implement this but I also have minimal availability for open source these days.

@davidkong
Copy link

I'll jump on this thread just to say that I would definitely make use of that feature if implemented!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants