From 2ca9703aaeac5afda1a9f3c4050dd8af0b556b45 Mon Sep 17 00:00:00 2001 From: JuanPabloDiaz Date: Tue, 9 Jan 2024 19:41:24 -0500 Subject: [PATCH] Add Prettier plugin to project configuration --- _drafts/2024-01-09-fullstack-nextjs.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/_drafts/2024-01-09-fullstack-nextjs.md b/_drafts/2024-01-09-fullstack-nextjs.md index 2dd9cb6..4ac128e 100644 --- a/_drafts/2024-01-09-fullstack-nextjs.md +++ b/_drafts/2024-01-09-fullstack-nextjs.md @@ -38,3 +38,20 @@ Run the project: cd culinary-code yarn dev ``` + +## Install plugins + +### Prettier + +```bash +yarn add --dev prettier prettier-plugin-tailwindcss +``` + +Then add the plugin to your Prettier configuration file: + +```bash +# file name: .prettierrc +{ + "plugins": ["prettier-plugin-tailwindcss"] +} +```