[英]Tailwind CSS not Working with vite React - after installing react router
I have done some basic setup to test the react router, installed and configured tailwind as per documentation but it isn't working我已经完成了一些基本设置来测试反应路由器,根据文档安装和配置顺风但它不工作
i think problem is mainly caused after react router implementation我认为问题主要是在 React router 实现之后引起的
please check following repository for code请检查以下代码库
https://github.com/AmitMali/react-router-demo https://github.com/AmitMali/react-router-demo
rechecked all the documentation and implementation重新检查所有文档和实施
You need a css
file with您需要一个
css
文件
@tailwind base;
@tailwind components;
@tailwind utilities;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.