forked from opentiny/tiny-engine
318785de8e
- @opentiny/tiny-engine-mock@1.0.2 - @opentiny/tiny-engine-block-build@1.0.1 - @opentiny/tiny-engine-builtin-component@1.0.0 - @opentiny/tiny-engine-canvas@1.0.2 - @opentiny/tiny-engine-common@1.0.1 - @opentiny/tiny-engine-controller@1.0.2 - @opentiny/tiny-engine@1.0.0-beta.3 - @opentiny/tiny-engine-http@1.0.1 - @opentiny/tiny-engine-i18n-host@1.0.2 - @opentiny/tiny-engine-plugin-block@1.0.2 - @opentiny/tiny-engine-plugin-bridge@1.0.2 - @opentiny/tiny-engine-plugin-data@1.0.2 - @opentiny/tiny-engine-plugin-datasource@1.0.2 - @opentiny/tiny-engine-plugin-help@1.0.2 - @opentiny/tiny-engine-plugin-i18n@1.0.2 - @opentiny/tiny-engine-plugin-materials@1.0.2 - @opentiny/tiny-engine-plugin-page@1.0.2 - @opentiny/tiny-engine-plugin-robot@1.0.2 - @opentiny/tiny-engine-plugin-schema@1.0.2 - @opentiny/tiny-engine-plugin-script@1.0.2 - @opentiny/tiny-engine-plugin-tree@1.0.2 - @opentiny/tiny-engine-plugin-tutorial@1.0.2 - @opentiny/tiny-engine-setting-design@1.0.2 - @opentiny/tiny-engine-setting-events@1.0.2 - @opentiny/tiny-engine-setting-props@1.0.2 - @opentiny/tiny-engine-setting-styles@1.0.2 - @opentiny/tiny-engine-svgs@1.0.3 - @opentiny/tiny-engine-theme-dark@1.0.3 - @opentiny/tiny-engine-theme-light@1.0.4 - @opentiny/tiny-engine-toolbar-breadcrumb@1.0.2 - @opentiny/tiny-engine-toolbar-clean@1.0.2 - @opentiny/tiny-engine-toolbar-collaboration@1.0.2 - @opentiny/tiny-engine-toolbar-fullscreen@1.0.2 - @opentiny/tiny-engine-toolbar-generate-vue@1.0.2 - @opentiny/tiny-engine-toolbar-lang@1.0.3 - @opentiny/tiny-engine-toolbar-layout@1.0.3 - @opentiny/tiny-engine-toolbar-checkinout@1.0.2 - @opentiny/tiny-engine-toolbar-logo@1.0.2 - @opentiny/tiny-engine-toolbar-logout@1.0.3 - @opentiny/tiny-engine-toolbar-media@1.0.2 - @opentiny/tiny-engine-toolbar-preview@1.0.2 - @opentiny/tiny-engine-toolbar-redoundo@1.0.2 - @opentiny/tiny-engine-toolbar-refresh@1.0.2 - @opentiny/tiny-engine-toolbar-save@1.0.2 - @opentiny/tiny-engine-toolbar-setting@1.0.2 - @opentiny/tiny-engine-utils@1.0.3 - @opentiny/tiny-engine-dsl-vue@1.0.2 - @opentiny/tiny-engine-webcomponent-core@1.0.3 |
||
---|---|---|
.. | ||
src | ||
README.md | ||
package.json | ||
vite.config.js |
README.md
@opentiny/tiny-engine-blockToWebComponentTemplate
将区块转换成 webComponent,使得不同技术栈的区块可以统一在 vue 的画布上面运行
使用
- 后端拉取 template
- 将区块 schema 转换成 高代码,并写入 src 文件夹中
- 写入 lib.js,替换 BlockFileName 为实际出码的文件名
- 执行
pnpm install
安装依赖 - 运行
pnpm run build:block
命令 - 得到 webcomponent 转换产物