You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,21 @@ export default {
29
29
};
30
30
```
31
31
32
+
**or,** to use ESM:
33
+
34
+
```js
35
+
importtailwindcssMotionfrom"tailwindcss-motion";
36
+
37
+
/**@type{import('tailwindcss').Config}*/
38
+
exportdefault {
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
+
32
47
## How does it work?
33
48
34
49
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