Prettier

Introduce Prettier

Prettier, a universal front-end formatting tool that does most of the basic front-end formatting, can be standardized easily by using Prettier, where it is easy to use

Prettier installation

yarn add prettier --dev

The Prettier command is used to format yarn Prettier style. CSS

Run the Prettier command to format the file and write back to yarn Prettier style. CSS –write

Prottier supports file execution using wildcard characters or relative folder paths

Yarn prettier. –write // Execute all files in the root directory

Hopefully this was helpful


TeX old city \ TeX old city