Begin work on sending emails

This commit is contained in:
Jesse Wierzbinski 2024-04-11 11:50:05 -10:00
parent a4f6ce42c6
commit 0469187876
No known key found for this signature in database
6 changed files with 30 additions and 9 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -0,0 +1,16 @@
<script setup lang="ts">
import { ETailwind, EButton } from "vue-email";
import tailwindConfig from "~/tailwind.config";
defineProps<{
name: string;
}>();
</script>
<template>
<ETailwind :config="tailwindConfig">
<EButton href="https://example.com" class="bg-primary px-3 py-2 font-medium leading-4 text-white">
Click me
</EButton>
</ETailwind>
</template>

View file

@ -4,7 +4,12 @@ import pkg from "../../package.json";
// https://nuxt.com/docs/api/configuration/nuxt-config // https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({ export default defineNuxtConfig({
modules: ["@nuxtjs/seo", "@nuxtjs/tailwindcss", "@vueuse/nuxt"], modules: [
"@nuxtjs/seo",
"@nuxtjs/tailwindcss",
"@vueuse/nuxt",
"@vue-email/nuxt",
],
app: { app: {
head: { head: {
link: [ link: [

View file

@ -16,6 +16,7 @@
"vue-router": "^4.3.0" "vue-router": "^4.3.0"
}, },
"devDependencies": { "devDependencies": {
"@tailwindcss/forms": "^0.5.7" "@tailwindcss/forms": "^0.5.7",
"@vue-email/nuxt": "^0.8.19"
} }
} }

View file

@ -1,7 +1,8 @@
{ {
// https://nuxt.com/docs/guide/concepts/typescript // https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json", "extends": "./.nuxt/tsconfig.json",
"compilerOptions": { "compilerOptions": {
"target": "ESNext" "target": "esnext",
} "module": "esnext"
}
} }

View file

@ -33,10 +33,8 @@
"include": [ "include": [
"*.ts", "*.ts",
"*.d.ts", "*.d.ts",
"*.vue",
"**/*.ts", "**/*.ts",
"**/*.d.ts", "**/*.d.ts",
"**/*.vue",
"server/api/well-known/**/*.ts" "server/api/well-known/**/*.ts"
] ]
} }