Conversation
|
go-blueprint/cmd/program/program.go Lines 890 to 894 in 9e33987 I am worried about the |
| @@ -891,25 +879,16 @@ func (p *Project) CreateViteReactProject(projectPath string) error { | |||
| cmd := exec.Command("npm", "install", | |||
There was a problem hiding this comment.
I think installing @tailwindcss/vite that has a dependency of needing tailwind v4 will make it force install v4+ so maybe we are good to go using --prefer-offline
|
For people who have new tailwind cli the install will fail as seen in the logs as |
|
I fixed Tailwind to v3.4.10 because that was the issue when it is used with HTMX. I saw open issues in tailwind repo, and the simplest solution for now was just using the older version. On the React side, I added --prefer-offline because I experienced an issue with project generation - it took more than 10 minutes, so I introduced prefer-offline when there is a local cache. If this is not a good practice, we can remove the flag. |
I meant this to be the current behavior I have fixed it in the pr
and I was worried about the |
|
Thanks for the info, I will try to review and test the PR tomorrow. |
Ujstor
left a comment
There was a problem hiding this comment.
LGTM!!!
Sorry it took me so long to check and merge the PR.
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.
Problem/Feature
Support for tailwindcss v4
Checklist