Skip to content
Discussion options

You must be logged in to vote

"Then, you can install it using npm install prettier inside the project directory, or install it globally on your computer using npm install -g prettier. To run prettier on your current directory use npx prettier . --write."
Works for me. Thanks a lot!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Pats-Chen
Comment options

Answer selected by george-gca
@ykchong45
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants