@logicflow/vue-node-registry
@logicflow/vue-node-registry
LogicFlow Shape for rendering Vue components.
Installation
此包将 Vue 组件桥接到 LogicFlow 节点系统,@logicflow/core 和 vue 需要由使用方显式提供。Vue 2 场景下,如果项目未通过 vue-demi 自动满足要求,还需要安装 @vue/composition-api。
npm install @logicflow/core @logicflow/vue-node-registry vue
or
yarn add @logicflow/core @logicflow/vue-node-registry vue
or
pnpm add @logicflow/core @logicflow/vue-node-registry vue
Usage
用户自定义 Vue 节点 CustomVueComponent
我们需要将该内容注册到某个地方
- 如果基于默认的 HTML 节点,只是调整节点里面的内容,
register({
type: 'custom-vue-shape',
view: VueComponent,
model: VueNodeModel,
}, lf)
- 注册节点
view为 Vue 组件(基于 HTMLNode 自定义)model为节点数据模型
Related Packages
@i18n-micro/node
Node.js utilities for loading translations and locale data in Nuxt I18n Micro.
4,423
251
Version History
| Version | Released | License |
|---|---|---|
| 1.2.5 | Apache-2.0 | |
| 1.2.4 | Apache-2.0 | |
| 1.2.3 | Apache-2.0 | |
| 1.2.2 | Apache-2.0 | |
| 1.2.1 | Apache-2.0 | |
| 1.2.0 | Apache-2.0 | |
| 1.1.13 | Apache-2.0 | |
| 1.1.12 | Apache-2.0 | |
| 1.1.11 | Apache-2.0 | |
| 1.1.10 | Apache-2.0 | |
| 1.1.9 | Apache-2.0 | |
| 1.1.8 | Apache-2.0 | |
| 1.1.7 | Apache-2.0 | |
| 1.1.6 | Apache-2.0 | |
| 1.1.5 | Apache-2.0 | |
| 1.1.4 | Apache-2.0 | |
| 1.1.3 | Apache-2.0 | |
| 1.1.2 | Apache-2.0 | |
| 1.1.1 | Apache-2.0 | |
| 1.1.0 | Apache-2.0 | |
| 1.0.18 | Apache-2.0 | |
| 1.0.17 | Apache-2.0 | |
| 1.0.16 | Apache-2.0 | |
| 1.0.15 | Apache-2.0 | |
| 1.0.14 | Apache-2.0 | |
| 1.0.13 | Apache-2.0 | |
| 1.0.12 | Apache-2.0 | |
| 1.0.11 | Apache-2.0 | |
| 1.0.10 | Apache-2.0 | |
| 1.0.9 | Apache-2.0 |
Showing the latest 30 of 39. See every release on npm
Pre-releases (16)
| Version | Released | License |
|---|---|---|
| 1.2.5-alpha.0 | Apache-2.0 | |
| 1.2.3-alpha.0 | Apache-2.0 | |
| 1.2.0-alpha.7 | Apache-2.0 | |
| 1.2.0-alpha.6 | Apache-2.0 | |
| 1.2.0-alpha.5 | Apache-2.0 | |
| 1.2.0-alpha.4 | Apache-2.0 | |
| 1.2.0-alpha.3 | Apache-2.0 | |
| 1.2.0-alpha.2 | Apache-2.0 | |
| 1.2.0-alpha.1 | Apache-2.0 | |
| 1.2.0-alpha.0 | Apache-2.0 | |
| 0.0.1-beta.5 | Apache-2.0 | |
| 0.0.1-beta.4 | Apache-2.0 | |
| 0.0.1-beta.3 | Apache-2.0 | |
| 0.0.1-beta.2 | Apache-2.0 | |
| 0.0.1-beta.1 | Apache-2.0 | |
| 0.0.1-beta.0 | Apache-2.0 |