Is there a way to use exported components in your own project without relying on react-email dependencies? #1018
Unanswered
MatticusPrime29
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
After running
export email
on a few react email templates. When I import those js modules in my project I will get an error:Module not found: Can't resolve ./lib/beautify
This is because I don't have this module in my repository, it expectes the output directory to be somewhere inside a react email project. This is not ideal though because I want to keep the js templates in my repository, but I don't want to keep them with a react-email project. Any suggestions are welcome, thanks.
Beta Was this translation helpful? Give feedback.
All reactions