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 can't use relative includes
<mj-include path="./_template.mjml" />
the MJML command is run on the file
/app/storage/framework/views/96c..817.mjml.php
but the includes are in relative to the view file in
/app/resources/views/emails/view-name.blade.php
(side question: Is there a better option than using .blade.php as extension? .mjml.blade.php did not work)
.blade.php
.mjml.blade.php
The text was updated successfully, but these errors were encountered:
Could be easily 'worked around' with #142
But I would suggest adding --config.filePath= option automatically to make it work out of the box.
--config.filePath=
I have provided a PR for this: #143
Sorry, something went wrong.
asahasrabuddhe#141 set config.filePath to view location
4cfef5b
This enables usage of <mj-include> with paths relative to the view file
Merge pull request #143 from tennox/master
84a4260
#141 set config.filePath to view location
@asahasrabuddhe you can close this merge request ;-)
No branches or pull requests
I can't use relative includes
the MJML command is run on the file
but the includes are in relative to the view file in
(side question: Is there a better option than using
.blade.php
as extension?.mjml.blade.php
did not work)The text was updated successfully, but these errors were encountered: