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
+19-3Lines changed: 19 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,26 @@ pnpm add ssw.megamenu
17
17
18
18
2. Import the generated styles
19
19
20
-
**NOTE: If you have TailwindCSS installed in your project, you can skip this step**
21
-
22
20
```javascript
23
-
import"ssw.megamenu/style.css";
21
+
import"ssw.megamenu/dist/style.css";
22
+
```
23
+
24
+
**NOTE: If you have TailwindCSS installed in your project, you can instead list the `ssw.megamenu` package in your `tailwind.config.js` content array like so:**
25
+
26
+
```js
27
+
// tailwind.config.js
28
+
29
+
// ...
30
+
31
+
module.exports= {
32
+
// ...
33
+
content: [
34
+
// ...
35
+
"node_modules/ssw.megamenu/**/*.js",
36
+
],
37
+
// ...
38
+
};
39
+
24
40
```
25
41
26
42
3. You can then use the components in your React app like so:
0 commit comments