-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Hi there,
Using dx new ... to set up a new project generates a README containing the following Tailwind code snippet. However, executing the command produces an error:
>>> npx tailwindcss -i ./tailwind.css -o ./assets/tailwind.css --watch
npm error could not determine executable to runAccording to the Tailwind CSS doc linked in the README, the command to run when adapted for Dioxus template projects, should instead be:
npx @tailwindcss/cli -i ./tailwind.css -o ./assets/tailwind.css --watchwhich indeed works.
I believe the previous command was for tailwindcss@v3.x.
I'm relatively new to frontend, so apologies in advance if my conclusions here are incorrect.
Otherwise, I'm happy to open a PR to make the updated changes to the templates.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels