Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windicss-intellisense In VScode not working #361

Open
potatoes0521 opened this issue May 11, 2022 · 4 comments
Open

windicss-intellisense In VScode not working #361

potatoes0521 opened this issue May 11, 2022 · 4 comments

Comments

@potatoes0521
Copy link

potatoes0521 commented May 11, 2022

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
Copy link
Contributor

I am suffering the same situation. How can we provide some debug informations?

@alexanderniebuhr
Copy link
Member

Output Channel Logs and minimal git repository

@lianghx-319
Copy link
Contributor

I am suffering the same situation. How can we provide some debug informations?

image

I frequently got this warning. I use windicss in rushjs monorepo

@alexanderniebuhr
Copy link
Member

I frequently got this warning. I use windicss in rushjs monorepo

You should get better experience with our experimental pre-release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants