npm install --save-dev prettier prettier-plugin-tailwindcss
package.json
"scripts": {
...
"format": "prettier --write ."
},
"prettier": {
"plugins": [
"prettier-plugin-tailwindcss"
]
}
npm run format
npm install --save-dev prettier prettier-plugin-tailwindcss
package.json
"scripts": {
...
"format": "prettier --write ."
},
"prettier": {
"plugins": [
"prettier-plugin-tailwindcss"
]
}
npm run format