跳到主内容
博客oldsaltfish
博客

prettier Unexpected closing tag "p". It may happen when the tag has already been closed by another tag.

背景

prettier报错,如图所示。
image

解决

略微搜索后找到了答案。
p标签内不能嵌套div。
以下为原链接https://github.com/prettier/prettier/issues/7640
image

评论

正在加载评论