1.首先利用npx建立react项目 npx creat-react-app my_app cd my_app 2.利用npm安装tailwindcss,postcss,autoprefixer npm install -D tailwindcss postcss autoprefixer 3.创建tailwindcss以及postcss的配置文件 npx tailwindcss init -p 在完成第三步后,项目根目录下会出现两个配置文件分别是:postcss.config.js,ta...
Unknown at rule @tailwindcss(unknownAtRules) 截图如下: 解决 原因是css 不知道这条规则提示,如果没有提示警告。 可以屏蔽这条vscode 规则: 在根目录新建.vscode文件夹 文件夹下新建settings.json 文件 添加规则 代码语言:javascript 复制 {"css.lint.unknownAtRules":"ignore"} 保存之后提示没有了:...
{"name":"@tailwind","description":"Use the `@tailwind` directive to insert Tailwind's `base`, `components`, `utilities` and `screens` styles into your CSS.","references": [ {"name":"Tailwind Documentation","url":"https://tailwindcss.com/docs/functions-and-directives#tailwind"} ] }, ...
A step-by-step illustrated guide on how to resolve the Unknown at rule @tailwindcss(unknownAtRules) warning in multiple ways.
symphony-injector,errorh,byron,moby-pos,hayspec,barrel-db,aws-dynamodb-expressions,@darrinholstpie-chart,sunshengda-test,demo_goodmazi,micro-manager,env-configuration,limby-resize,fsz-cli,react-router-path-normalize,doobie-zzz,zhmurik,cozy-files,ngx-wwww3426,snowtiger,makenpm,simple-custom-...