Skip to content

Commit

Permalink
Add Prettier plugin to project configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanPabloDiaz committed Jan 10, 2024
1 parent dc4df6a commit 2ca9703
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions _drafts/2024-01-09-fullstack-nextjs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
```

0 comments on commit 2ca9703

Please sign in to comment.