2021-07-10 12:25:59 +02:00
2021-07-01 19:54:02 +02:00
2021-07-01 19:54:02 +02:00
2021-07-01 19:54:02 +02:00
2021-07-01 19:54:02 +02:00
2021-07-01 19:54:02 +02:00
2021-07-01 19:54:02 +02:00
2021-07-10 12:25:59 +02:00
2021-07-09 23:46:47 +02:00
2021-07-09 18:39:35 +02:00
2021-07-01 19:54:02 +02:00

React Flow in Vue3 = Revue Flow

top-language dependencies Status devDependencies Status vulnerabilities GitHub code size in bytes GitHub last commit

This repo is still a big construction site with nothing really finished. Please check out React Flow if you like the idea.

Motivation

Seeing as many libraries exist in the React ecosystem and Vue sadly does not get the same love and attention, I decided to port the React Flow library to Vue.js.

Usage

Vue3

# install revue flow
$ yarn add @braks/revue-flow

# or
$ npm i --save @braks/revue-flow

Make sure to include the style.css file from the revue-flow dist directory in your main file or give the nodes your own styling.

import '@braks/revue-flow/dist/style.css';

// the rest of your app

Vue2

With Vue2 make sure you have the composition api installed as a dependency. Same goes for Nuxtjs.

# install revue flow
$ yarn add @braks/revue-flow @vue/composition-api

# or
$ npm i --save @braks/revue-flowy @vue/composition-api

Development

This project uses Vite for development and Rollup to create type definitions.

# start (dev)
$ yarn dev

# build app
$ yarn build

# serve app from dist
$ yarn serve
Description
No description provided
Readme 17 MiB
Languages
TypeScript 80.3%
Vue 17%
CSS 1.8%
JavaScript 0.6%
Dockerfile 0.2%
Other 0.1%