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 have the following command to compile the .vue emails into HTML, however the baseUrl is gone after exporting.
.vue
HTML
baseUrl
Here's the relevant parts of each component
<EImg src="/images/logo.png" width="100" height="33" alt="logo" :style="logo" />
// Email vueEmail: { baseUrl: 'https://example.com' }
{ "scripts": { "email": "bunx vue-email export --dir emails --out supabase/templates --pretty" } }
When previewing the Email w/ Nuxt Dev Tools, the Image URL works great:
However, after I run the build command, the baseUrl is omitted:
Any help would be much appreciated!!
PS -- What I eventually would like to do is set the baseUrl to an ENV variable to so it works both locally and in production!
// Email vueEmail: { baseUrl: process.env.BASE_URL, }
Thanks for the awesome library BTW! 💯
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have the following command to compile the
.vue
emails intoHTML
, however thebaseUrl
is gone after exporting.Here's the relevant parts of each component
Email
Nuxt Config
package.json
When previewing the Email w/ Nuxt Dev Tools, the Image URL works great:
However, after I run the build command, the
baseUrl
is omitted:Any help would be much appreciated!!
PS -- What I eventually would like to do is set the
baseUrl
to an ENV variable to so it works both locally and in production!Thanks for the awesome library BTW! 💯
The text was updated successfully, but these errors were encountered: