update: change name to vue flow
* Add gif to readme Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
# React Flow in Vue3 = Revue Flow
|
||||
[](https://reactflow.dev/)
|
||||

|
||||
[](https://david-dm.org/bcakmakoglu/revue-flow)
|
||||
[](https://david-dm.org/bcakmakoglu/revue-flow?type=dev)
|
||||

|
||||

|
||||

|
||||
# Vue Flow
|
||||
[](https://reactflow.dev/)
|
||||

|
||||
[](https://david-dm.org/bcakmakoglu/vue-flow)
|
||||
[](https://david-dm.org/bcakmakoglu/vue-flow?type=dev)
|
||||

|
||||

|
||||

|
||||
|
||||
This repo is still a big construction site with nothing really finished.
|
||||
You can check the examples to see what's working and what's not.
|
||||
Please visit [React Flow](https://reactflow.dev/) and support them if you like the idea.
|
||||
They did most of the heavy lifting by writing the library in the first place.
|
||||
All I did is bring it to Vue3.
|
||||
All I did is bring it to Vue.
|
||||
|
||||
### Motivation
|
||||
Seeing as many libraries exist in the React ecosystem and Vue sadly does not get the same
|
||||
@@ -20,31 +20,29 @@ love and attention, I decided to port the React Flow library to Vue.js.
|
||||
## Usage
|
||||
Check the React Flow docs for usage. It's really the same.
|
||||
|
||||
### Vue3
|
||||
### Vue 3
|
||||
```bash
|
||||
# install revue flow
|
||||
$ yarn add @braks/revue-flow
|
||||
# install vue flow
|
||||
$ pnpm add @braks/vue-flow
|
||||
|
||||
# or
|
||||
$ npm i --save @braks/revue-flow
|
||||
$ npm i --save @braks/vue-flow
|
||||
```
|
||||
|
||||
### Vue2
|
||||
This doesn't work with Vue2, sorry.
|
||||
|
||||
## Development
|
||||
This project uses Vite for development and Rollup to create a distribution.
|
||||
### Vue 2
|
||||
Vue Flow doesn't work with Vue 2, sorry.
|
||||
|
||||
## 🧪 Development
|
||||
```bash
|
||||
# start (dev)
|
||||
$ yarn dev
|
||||
$ pnpm dev
|
||||
|
||||
# build app
|
||||
$ yarn build
|
||||
$ pnpm build
|
||||
|
||||
# serve app from build
|
||||
$ yarn serve
|
||||
$ pnpm serve
|
||||
|
||||
# build dist
|
||||
$ yarn build:dist
|
||||
$ pnpm build:dist
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user