Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

krthr/vue-dataflow-editor

Repository files navigation

vue-dataflow-editor

Based on vue-blocks. A @ghostiam's project.

npm

npm i @krthr/vue-dataflow-editor

Import the lib on app.js

// app.js or main.js, or the main file
// where you create the vue app
import Vue from "vue";
// other imports
import "@krthr/vue-dataflow-editor";
import "@krthr/vue-dataflow-editor/dist/vue-dataflow-editor.css";
const app = new Vue({
 /* ... */
});
<template>
 <vue-blocks-container
 class="container"
 :blocks-content="[]"
 :scene.sync="{}"
 />
</template>

browser

<body>
 <div id="app">
 <vue-blocks-container
 ref="container"
 :blocks-content="[]"
 :scene.sync="{}"
 class="container"
 />
 </div>
 <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
 <script src="https://unpkg.com/@krthr/vue-dataflow-editor@latest/dist/vue-dataflow-editor.umd.min.js"></script>
 <script>
 new Vue({
 el: "#app",
 // ...
 });
 </script>
</body>

AltStyle によって変換されたページ (->オリジナル) /