diff --git a/package.json b/package.json index ee8d9c7..9267184 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "postcss": "8.4.21", "prettier": "2.8.4", "prettier-plugin-svelte": "2.9.0", + "prettier-plugin-tailwindcss": "0.2.4", "svelte": "3.56.0", "svelte-check": "3.1.4", "tailwindcss": "3.2.7", diff --git a/prettier.config.cjs b/prettier.config.cjs new file mode 100644 index 0000000..eb095cf --- /dev/null +++ b/prettier.config.cjs @@ -0,0 +1,4 @@ +/** @type {import("prettier").Config} */ +module.exports = { + plugins: [require.resolve('prettier-plugin-tailwindcss')] +};