streamonkey / svelte-email

a base template for creating HTML and plain text emails with svelte

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Svelte Mail Development

Uses a live server to display the mail in the browser as well as a plain text variant of it.

screenshot

installation for your use:

npx degit streamonkey/svelte-email my-email-folder

cd my-email-folder

npm install

edit the config.json to change the path of the template or the props for the component

to open a hot reloading server run localhost:3000:

npm run dev

then change src/Mail.svelte

if you just want to build the email:

npm run build

The rendered e-mails are located in dist

About

a base template for creating HTML and plain text emails with svelte


Languages

Language:JavaScript 52.3%Language:HTML 28.8%Language:CSS 10.4%Language:Svelte 8.5%