简体   繁体   中英

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

please check following repository for code

https://github.com/AmitMali/react-router-demo

rechecked all the documentation and implementation

You need a css file with

@tailwind base;
@tailwind components;
@tailwind utilities;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM