Skip to content

Latest commit

 

History

History
72 lines (49 loc) · 1.06 KB

README.md

File metadata and controls

72 lines (49 loc) · 1.06 KB

Vite + React + Flow Template

Simple React app template built with Flow component sytnax! 🔥

Getting started

  1. Create the project.

    npx degit alexmckenley/react-flow-vite-template my-app
  2. Access the project directory.

    cd my-app
  3. Initialize a git repository.

    git init
  4. Install dependencies.

    yarn install
  5. Start dev server with hot reload at http://localhost:3000.

    yarn run dev

Other commands

Lint

yarn run lint

Format

yarn run format

Build

yarn run build

Run the app in production mode

yarn run serve

VSCode configuration

For real-time IDE hints in VSCode, install the Flow Language Support extension and set the following configuration value:

{
  "flow.pathToFlow": "${workspaceFolder}/node_modules/flow-bin/vendor/flow",
}

License

This project is licensed under the MIT License.