Skip to content

windicss-intellisense In VScode not working #361

@potatoes0521

Description

@potatoes0521

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"),
  ],
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions