Matt Stauffer 2/23/2024

How to set up Prettier On a Laravel App, Linting Tailwind Class Order and More

Read Original

This article provides a detailed, step-by-step tutorial on configuring Prettier with the prettier-plugin-blade and prettier-plugin-tailwindcss plugins in a Laravel application. It covers installation, creating configuration files (.prettierrc, .prettierignore), and explains how to achieve consistent, automated ordering of Tailwind CSS classes directly within Blade templates.

How to set up Prettier On a Laravel App, Linting Tailwind Class Order and More

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

2
Designing Design Systems
TkDodo Dominik Dorfmeister 2 votes
4
Introducing RSC Explorer
Dan Abramov 1 votes
6
Fragments Dec 11
Martin Fowler 1 votes
7
Adding Type Hints to my Blog
Daniel Feldroy 1 votes
8
Refactoring English: Month 12
Michael Lynch 1 votes
10