npx, npm, Vite, React-router, Tailwindcss, Motion #17271
-
Hi, newish here. Maybe someone can offer some insight.. Okay, so I started with vite and react, run the dev, works fine. Then adding tailwindccs installs, but the npx init deal(which I find out after is no longer) doesn't produce the config file. No biggie, I manually make the file double checking to make sure its contents were correct.. I have had issues with npx command rejecting to execute anything I feed it, despite it supposedly ties with npm? Npm is working. I somewhat recall this coming up when I first set up my React project, and I believe it had something to do with my path/env set up(Win 11) of which I had to manually add, but I do not recall for sure if it was due to my React project or Anaconda..(or something else I was doing) sheesh I suppose I could look, but that environment stuff is scary to me I worry that I may screw something up inside those rules.. which maybe is why this is. Anyhow, so without the use of npx and having installed and removed Tailwindccs and messing with config and making sure imports were correct (@ or elsewise) I cannot seem to find the required setup. I have or had 5 installs of tailwind, 3 of which had the @ before it and most were removed but there's still one stuck saying is open still even after making sure(I thought) files were closed. I could continue my project without Tailwindcss I suppose, but.. think it would be likely that at some point to run into similar issues. Oh and it didn't seem to matter about global? But then I read that with React router and tailwind not jiving well under some circumstances depending. I've tried this and that, plus things have changed a bit since the days of html and css and uploading backend files to server for the web - all this extra awesome stuff. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Consider checking you've followed the Vite installation steps. |
Beta Was this translation helpful? Give feedback.
Consider checking you've followed the Vite installation steps.