We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to use https://formatjs.io/handlebars/ (# Using Named Number Formats), and they set the config like this:
var intlData = { locales: 'en-US' } var context = { price: 1000 }; var html = template(context, { data: {intl: intlData} });
So, using new EmailTemplate(path), where do I can set data: {intl: intlData}?
new EmailTemplate(path)
data: {intl: intlData}
I'm asking, because I've tried many things, but nothing seems to work (formatjs/handlebars-intl#86).
The text was updated successfully, but these errors were encountered:
try v3.x?
Sorry, something went wrong.
No branches or pull requests
I'm trying to use https://formatjs.io/handlebars/ (# Using Named Number Formats), and they set the config like this:
So, using
new EmailTemplate(path)
, where do I can setdata: {intl: intlData}
?I'm asking, because I've tried many things, but nothing seems to work (formatjs/handlebars-intl#86).
The text was updated successfully, but these errors were encountered: