You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks a lot for the package but the usage instructions are not clear at all. I have Juice installed, but then how do I pass the css file into it to render the email?
constTestMail=()=>{return(<div><head><linkrel="stylesheet"href="index.css"/></head><h1className="text-xl font-bold border-b">YouhaveanewTestEmailonProductlane</h1><pclassName="border-b">Somethingsomething</p><ahref="https://productlane.io/feedback"className="bg-purple-600">Open</a></div>)}exportfunctiontestMailer({ to }: IParams){constemailHtml=ReactDOMServer.renderToStaticMarkup(<TestMail/>)
constprocessedHtml=juice(emailHtml,{webResources: {relativeTo: "../app/core/styles/",},})// ...
The text was updated successfully, but these errors were encountered:
Thanks a lot for the package but the usage instructions are not clear at all. I have Juice installed, but then how do I pass the css file into it to render the email?
The text was updated successfully, but these errors were encountered: