-
-
Notifications
You must be signed in to change notification settings - Fork 71
Closed as duplicate
Labels
Description
The Svelte CLI (npx sv create my-app) setup that includes both Prettier and Tailwind CSS currently installs a prettier-plugin-tailwindcss version that causes Prettier formatting to fail on .svelte files.
This failure occurs regardless of whether the file contains Tailwind classes.
Steps to Reproduce
Initialize a new SvelteKit project with tailwind and prettier.
Attempt to format a .svelte file (e.g., src/routes/+layout.svelte) in an editor using the local Prettier configuration (VS Code, Zed, or Vim).
I tested and the previous sv version 0.10.4 did not install the troublesome prettier plugin and it works fine.
Environment
Svelte CLI version: 0.10.5