prettier Unexpected closing tag "p". It may happen when the tag has already been closed by another tag.
背景
prettier报错,如图所示。

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

prettier报错,如图所示。

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