feat: add basic webui
This commit is contained in:
1
apps/email-playground/.gitignore
vendored
Normal file
1
apps/email-playground/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.react-email
|
||||
11
apps/email-playground/emails/contact.tsx
Normal file
11
apps/email-playground/emails/contact.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { ContactTemplate } from '@konobangu/email/templates/contact';
|
||||
|
||||
const ExampleContactEmail = () => (
|
||||
<ContactTemplate
|
||||
name="Jane Smith"
|
||||
email="jane.smith@example.com"
|
||||
message="I'm interested in your services."
|
||||
/>
|
||||
);
|
||||
|
||||
export default ExampleContactEmail;
|
||||
24
apps/email-playground/package.json
Normal file
24
apps/email-playground/package.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "email-playground",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "email build",
|
||||
"dev": "email dev --port 3003",
|
||||
"export": "email export",
|
||||
"clean": "git clean -xdf .cache .turbo dist node_modules",
|
||||
"typecheck": "tsc --noEmit --emitDeclarationOnly false"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-email/components": "0.0.31",
|
||||
"@konobangu/email": "workspace:*",
|
||||
"react": "^19.0.0",
|
||||
"react-email": "3.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@konobangu/typescript-config": "workspace:*",
|
||||
"@types/node": "22.10.1",
|
||||
"@types/react": "19.0.1",
|
||||
"typescript": "^5.7.2"
|
||||
}
|
||||
}
|
||||
5
apps/email-playground/tsconfig.json
Normal file
5
apps/email-playground/tsconfig.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"extends": "@konobangu/typescript-config/nextjs.json",
|
||||
"include": ["**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
Reference in New Issue
Block a user