简体   繁体   中英

Prettier configuration for JSX tag to be in one line

My JSX looks like this: 在此处输入图片说明

But I really want it to look this way: 在此处输入图片说明

Can anyone provide their react-prettier json

你可以试试按 Option + Shift + F

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM