How to add a @tailwind CSS rule to css checker

后端 未结 9 1231
無奈伤痛
無奈伤痛 2020-12-23 08:55

Tailwind adds @tailwind css at rule which is flagged as unknown. How can I avoid this error?

eg styles.css

@tailwind prefligh

9条回答
  •  我在风中等你
    2020-12-23 09:54

    After many tests: POSTCSS and STYLUS syntax highlighter, removes warnings but CSS Intellisence is incomplete, does not show the first-utitilies classes Tailwind

    I installed 'language-stylus' plugin, in VSCode

    Settings> User setting:

    "files.associations": {
       "* .css": "stylus"
     },
    

    See you later!

    CSS Intellisence is incomplete

提交回复
热议问题