【发布时间】:2019-05-15 13:34:43
【问题描述】:
我在 gwt 应用程序 (vuegwt-plugin) 中有一个 Vue 模板。 我的问题是我使用了来自 vuejs 生态系统的第三方库,而我的模板使用了这个插件。我想根据这个模板生成渲染函数。 我用过这个在线生成器:https://vuejs-tips.github.io/compile。
这个生成器输出如下函数:
_c(
'span', [
_v(
_s(
entry
.name
)
)
]
)
]) : _e(),
_l((
我假设 _c 是 render(createElement) 函数的 createElement 参数。
但 _v()、_s()、_e() 等是什么?
【问题讨论】:
标签: javascript vue.js vue-component