-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
When I configure windi.config.js It not working?
Do I have any mistakes here?
Project is Vue cli
import { transform } from "windicss/helpers";
export default {
attributify: {
// ‘w’ => w:bg="blue-400"
prefix: "w",
},
darkMode: "class",
transformCSS: "pre",
extract: {
include: ["**/*.{vue,html,jsx,tsx,ts}"],
exclude: [
"node_modules",
".git",
"excluded",
"dist",
"windi.config.{ts,js}",
"tailwind.config.{ts,js}",
],
},
alias: {},
shortcuts: {},
theme: {
extend: {
zIndex: {
"-1": "-1",
},
colors: {},
},
},
plugins: [
transform("windicss/plugin/line-clamp"),
transform("windicss/plugin/typography"),
transform("@windicss/plugin-scrollbar"),
],
};
lianghx-319
Metadata
Metadata
Assignees
Labels
No labels