You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you create a project with sv with prettier and tailwindcss options selected. It does not seem to add tailwind's prettier plugin. This only gets added if run npx sv add tailwind again after the project creation.
Same thing happens when you create a project with tailwind and without prettier. Now if you add prettier with npx sv add prettier. It does not add tailwind's prettier plugin. You have to again run npx sv add tailwind.
But adding tailwind again results with this app.css
The text was updated successfully, but these errors were encountered:
SymphonySimper
changed the title
npx sv create does add prettier-plugin-tailwindcss to package.json and .prettierrcnpx sv create does not add prettier-plugin-tailwindcss to package.json and .prettierrcOct 25, 2024
@AdrianGonz97 Mhmmm, that totally makes sense. But that would require us adding tailwindcss specific stuff to the prettier add-on. Do we want / need to support this use-case?
When you create a project with
sv
withprettier
andtailwindcss
options selected. It does not seem to add tailwind's prettier plugin. This only gets added if runnpx sv add tailwind
again after the project creation.Same thing happens when you create a project with tailwind and without prettier. Now if you add prettier with
npx sv add prettier
. It does not add tailwind's prettier plugin. You have to again runnpx sv add tailwind
.But adding
tailwind
again results with thisapp.css
git diff
of project withcreate
andadd
Click me
Note: I have removed `package-lock.json` for simplification.The text was updated successfully, but these errors were encountered: