Component name “Nearby“ should always be multi-word. 的原因
很好奇在ESlint规范中为啥要求component的name不能是单个单词(除了App外)呢?
查阅官方文档得知:
This rule require component names to be always multi-word, except for root App components, and built-in components provided by Vue, such as or . This prevents conflicts with existing and future H
原创
2022-04-22 19:44:49 ·
1126 阅读 ·
0 评论