Skip to content

Commit c32b3a0

Browse files
authored
Merge pull request romboHQ#5 from manavm1990/patch-2
docs: 📝
2 parents 042439a + a86a486 commit c32b3a0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,21 @@ export default {
2929
};
3030
```
3131

32+
**or,** to use ESM:
33+
34+
```js
35+
import tailwindcssMotion from "tailwindcss-motion";
36+
37+
/** @type {import('tailwindcss').Config} */
38+
export default {
39+
// * TODO: Make sure to include the `content` property as you normally would in a Tailwind config 🔧
40+
theme: {
41+
extend: {},
42+
},
43+
plugins: [tailwindcssMotion],
44+
};
45+
```
46+
3247
## How does it work?
3348

3449
We provide a simple syntax to animate any element in your Tailwind project. Instead of defining custom keyframes, we provide utility classes to animate every dimension, inline.

0 commit comments

Comments
 (0)