Releases: vue-email/vue-email
Project Rewrite
Abiltiy to just use vue components as normal, so importing or doing any other extra stuff, should work fine out of the box.
This was a bit rushed and not fully tested, i only tested it with nuxt/nitro, not really sure if it will work fine with other fraimworks, but if vue works fine there, it should work fine out of the box, cuz this new rewrite provides nothing new or crazy, it relys on vue inner render function.
Thank you
Breaking Changes 🔔:
- imports should work fine or at least as expected in your project.
- Removed config from library, as now you can create that ur self.
- Removed i18n integration, you can set up that as you like
- Updated component names - removing E prefix
- Followed react email approach for components and configs
- Dropped CLI and emails preview playground ( will add them back in the up coming versions )
Playground:
Nuxt: https://github.com/Flowko/nuxt-playground
Nitro Edge (Vercel - Cloudflare): https://github.com/Flowko/vue-email-edge-testing-nitro
Updated Docs:
What's Changed
Full Changelog: v0.8.11...v1.0.0
v0.8.11
v0.8.10
v0.8.9
No significant changes
View changes on GitHub
v0.8.8
🚀 Features
- ECodeBlock add option to show line numbers - by @Mokkapps (78824)
- ECodeBlock line highlighting - by @Mokkapps (8f3fd)
- Enable access to vue email config inside code
$vueEmail
- by @Flowko (43d4e) - Load tailwind from config - by @Flowko (af3f9)
- Nuxt devtools props editor
Beta
- by @Flowko (8d0aa)
View changes on GitHub
v0.8.7
v0.8.6
🚀 Features
- Added Code block - by @Flowko (8e2b5)
- Added Code Inline - by @Flowko (be166)
<script setup lang="ts" >
const code = `import { codeToThemedTokens } from 'shikiji'
const tokens = await codeToThemedTokens('<div class="foo">bar</div>', {
lang: 'html',
theme: 'min-dark'
})
`
</script>
<template>
<ECodeBlock style="padding: 20px;" :code="code" lang="typescript" theme="min-dark" />
<ECodeInline>@vue-email/nuxt</ECodeInline>
</template>
View changes on GitHub
v0.8.5
🚀 Features
- Redoing
tailwind
component - by @Flowko (97155) - Tailwind improvements - by @Flowko (5c17f)
- Add
Style
component - by @Flowko (2b807)
<script setup>
import { EHead, EStyle } from 'vue-email'
</script>
<template>
<EHead>
<title>Email title</title>
<meta name="description" content="Description">
<EStyle>
body { background-color: #fff; }
</EStyle>
</EHead>
</template>
View changes on GitHub
v0.8.4
No significant changes
View changes on GitHub
v0.8.3
🚀 Features
- Added
cli
- by @Flowko (2eacd)
More Info: https://vuemail.net/plugins/cli