If you are configuring JSX manually, please refer to the documentation of for details.Īlthough first introduced by React, JSX actually has no defined runtime semantics and can be compiled into various different outputs. The resulting vnode has the following shape:Ĭreate-vue and Vue CLI both have options for scaffolding projects with pre-configured JSX support. Js // all arguments except the type are optional h ( ' div ' ) h ( ' div ', , ' hello ' ) // props can be omitted when there are no props h ( ' div ', ' hello ' ) h ( ' div ', ) // children array can contain mixed vnodes and strings h ( ' div ', )