- 在 vnode.ts 中引入 isObject 判断函数 - 修改 createVNode 函数支持对象类型组件的 shapeFlag 设置 - 更新 h-component.html 示例代码,使用 h 函数创建组件 - 新增 h-component-video-test.html 测试文件包含原始 vnode 创建方式 - 移除手动创建 vnode 对象的硬编码方式,统一使用 h 函数创建
vue
打包, 测试实例, 项目入口, 导出
- 在 vnode.ts 中引入 isObject 判断函数 - 修改 createVNode 函数支持对象类型组件的 shapeFlag 设置 - 更新 h-component.html 示例代码,使用 h 函数创建组件 - 新增 h-component-video-test.html 测试文件包含原始 vnode 创建方式 - 移除手动创建 vnode 对象的硬编码方式,统一使用 h 函数创建
打包, 测试实例, 项目入口, 导出