unocss code prompt scheme in webstorm

foreword

unocssNo webstormplug-ins, no code hints, it's hard to use

image.png

solution

unocssIt is also used tailwindcss, so it can tailwindcssbe prompted with the help of plug-ins.

step

Installtailwindcss

pnpm install tailwindcss

Add configuration file

npx tailwindcss init -p

added to.gitignore

will /tailwind.config.jsbe added to.gitignore

rollback dependencies

Roll back the package.jsoncorresponding lockfile

Note: Do not delete node_modules/tailwindcss, tailwindcssthe code prompts dependent tailwindcssfolders

quote

First published in Yuque Document @is_tao

Guess you like

Origin juejin.im/post/7233952159661752379