xyflow / vite-react-flow-template

A vite template to get started with React Flow

Home Page:https://reactflow.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Flow starter (Vite + TS)

We've put together this template to serve as a starting point for folks interested in React Flow. You can use this both as a base for your own React Flow applications, or for small experiments or bug reports.

TypeScript not your thing? We also have a vanilla JavaScript starter template, just for you!

Getting up and running

You can get this template without forking/cloning the repo using degit:

npx degit xyflow/vite-react-flow-template your-app-name

The template contains mostly the minimum dependencies to get up and running, but also includes eslint and some additional rules to help you write React code that is less likely to run into issues:

npm install # or `pnpm install` or `yarn install`

Vite is a great development server and build tool that we recommend our users to use. You can start a development server with:

npm run dev

While the development server is running, changes you make to the code will be automatically reflected in the browser!

Things to try:

Resources

Links:

Learn:

About

A vite template to get started with React Flow

https://reactflow.dev

License:MIT License


Languages

Language:TypeScript 75.8%Language:JavaScript 10.9%Language:HTML 9.0%Language:CSS 4.3%