Skip to content

Commit 127cc6a

Browse files
committed
Update: Import and use the themer plugin in tailwind.config.js
1 parent 2ab74b0 commit 127cc6a

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

tailwind.config.js

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
1-
/** @type {import('tailwindcss').Config} */
1+
import themer from "@tailus/themer";
2+
23
export default {
3-
content: [],
4+
content: [
5+
"./index.html",
6+
"./src/**/*.{js,ts,jsx,tsx}",
7+
"./node_modules/@tailus/themer-**/dist/**/*.{js,ts}",
8+
],
49
theme: {
510
extend: {},
611
},
7-
plugins: [],
8-
}
9-
12+
plugins: [
13+
themer({
14+
components: {
15+
// Set your component customization here
16+
},
17+
}),
18+
],
19+
};

0 commit comments

Comments
 (0)