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
Improve compatibility with other Prettier plugins (#101, #102)
Upgrading from v0.1.x for Svelte users
As of v0.2.0 we no longer bundle prettier-plugin-svelte as part of this plugin, so to bring back formatting for Svelte code you need to explicitly install that dependency yourself:
npm install -D prettier-plugin-svelte
Next, disable autoloading by setting pluginSearchDirs to false in your Prettier configuration, and add any plugins you're using to your plugins list, making sure prettier-plugin-tailwindcss is last in the list:
// .prettierrc{// .."plugins": ["prettier-plugin-svelte","prettier-plugin-tailwindcss"// Must come last],"pluginSearchDirs": false}