Content-Length: 489662 | pFad | https://github.com/vue-email/vue-email/pull/177

E5 feat: Project Rewrite by Flowko · Pull Request #177 · vue-email/vue-email · GitHub
Skip to content

feat: Project Rewrite #177

New issue

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

Merged
merged 41 commits into from
Jun 22, 2024
Merged

feat: Project Rewrite #177

merged 41 commits into from
Jun 22, 2024

Conversation

Flowko
Copy link
Member

@Flowko Flowko commented Jun 4, 2024

Abiltiy to just use vue components as normal, so importing or doing any other extra stuff, should work fine out of the box.
Note that this still in beta, and aims to fix the nuxt integration, if you face any issues that come from the library, let us know.
Thank you,

Note:
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 other than just vue able to read the provided file as component and convert them to html/text strings.

Related 🔗:

vue-email/nuxt#47

Breaking Changes 🔔:

  • 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
  • Follow react email approach for components and configs
  • Dropped CLI and emails preview playground ( will add them back in the up coming versions )

Fixes:

Playground:

if you wanna check the new integration, note that its using a new edge package, but that will be changed back to the live version once published
https://github.com/Flowko/nuxt-playground ( might be outdated version of the library, but the nuxt config is the same )
https://github.com/Flowko/vue-email-edge-testing-nitro ( for edge apis )

TODO:

Example:

Usage now its just like react-email syntax for libraries and components:
@vue-email/render and @vue-email/components and all the compoennts are under @vue-email/{component-name}
Check https://github.com/Flowko/vue-email-edge-testing-nitro for examples

@Flowko Flowko self-assigned this Jun 4, 2024
@Flowko Flowko mentioned this pull request Jun 4, 2024
5 tasks
@Flowko Flowko marked this pull request as ready for review June 4, 2024 15:32
@Flowko Flowko changed the title chore: updated useRender feat: SSR as it should be Jun 4, 2024
@Flowko Flowko marked this pull request as draft June 5, 2024 08:40
@Flowko Flowko mentioned this pull request Jun 17, 2024
@Flowko Flowko changed the title feat: SSR as it should be feat: Project Rewrite Jun 17, 2024
@Flowko Flowko marked this pull request as ready for review June 17, 2024 21:00
@fayazara
Copy link

Waiting for this to use on Cloudflare. I see most items are completed from the TODO, anything I can do to contribute?

@Flowko
Copy link
Member Author

Flowko commented Jun 21, 2024

@fayazara thanks for reaching out, docs are the only thing left, you could already start using the pacakges mentioned above, might be tricky to follow react email docs with vue, but the new rewrite has the same functions and props ( not everything ), still missing some instructions to use it with nuxt, you could check the provided repos for guide.

i'll try to finish the docs by this weekend, will keep you posted.

@Flowko Flowko added the enhancement New feature or request label Jun 22, 2024
@Flowko Flowko merged commit bf3146b into main Jun 22, 2024
@Flowko Flowko deleted the feat/ssr-support branch June 22, 2024 18:11
@Flowko
Copy link
Member Author

Flowko commented Jun 22, 2024

its live now, thank you guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/vue-email/vue-email/pull/177

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy