Skip to content

how to preview the email templates during development? #233

Open
@mdhthahmd

Description

@mdhthahmd

Hi
in react-email its possible to see a preview of the email template with command email start, is there an equivalent feature?
i noticed that @vue-email/cli exists, installing it and using it as follows

node@db0b9fa06819:/workspace/packages/emails$ pnpm dlx @vue-email/cli export -h
Packages: +187
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 211, reused 172, downloaded 15, added 187, done
 ERR_PNPM_DLX_MULTIPLE_BINS  Could not determine executable to run. @vue-email/cli has multiple binaries: vue-email, vue-email-cli, vuemail

Try one of the following:
pnpm --package=@vue-email/cli dlx vue-email
pnpm --package=@vue-email/cli dlx vue-email-cli
pnpm --package=@vue-email/cli dlx vuemail
node@db0b9fa06819:/workspace/packages/emails$ pnpm exec vue-email -h
⚡️ Vue Email Generation CLI Experience (@vue-email/cli v0.0.14)                                                                                            12:31:31 PM

USAGE @vue-email/cli export

COMMANDS

  export    Generates the plain HTML files of your emails into a out directory.

Use @vue-email/cli <command> --help for more information about a command.

node@db0b9fa06819:/workspace/packages/emails$ 

But not seeing a way to preview,

i also noticed docs are bit outdated, glad to be of help in updating the docs if clarified @Flowko

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy