【发布时间】:2016-11-05 13:07:37
【问题描述】:
默认情况下,当我使用属性扩展 html 标记时,属性的值会被引号括起来。
例如Route[component={Main}]-><Route component="{Main}"></Route>
然而,当我使用 React 时,我想必须指定我希望扩展版本何时有引号。在我给出的示例中,我想要这种行为:
Route[component={Main}]-><Route component={Main}></Route>
Emmet-Vim 可以吗?
【问题讨论】: