Skip to content

Commit 61d2ff1

Browse files
committed
Added index.css and README
1 parent 8c88a36 commit 61d2ff1

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

packages/email-editor/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Introduction
2+
3+
A WYSIWYG email editor by CourseLit.
4+
5+
## Installation
6+
7+
The project depends of TailwindCSS, so you need to have it configured on your project, before installating this package.
8+
9+
```sh
10+
npm i @courselit/email-editor
11+
```
12+
13+
### Importing the CSS
14+
15+
#### 1. Tailwind v4
16+
17+
In your CSS file, add
18+
19+
```css
20+
@source "./node_modules/@courselit/email-editor";
21+
```
22+
23+
## Tech Stack
24+
25+
- [React](https://react.dev/)
26+
- [TailwindCSS](https://tailwindcss.com/)
27+
- [Shadcn/ui](https://ui.shadcn.com/)
28+
- [React email](https://react.email/)

packages/email-editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@
6767
"uuid": "^11.1.0"
6868
},
6969
"peerDependencies": {
70-
"react": "^18.0.0"
70+
"react": ">=18.0.0"
7171
}
7272
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;

0 commit comments

Comments
 (0)