Back to Next Js

Example app with Flow

examples/with-flow/README.md

16.2.51.0 KB
Original Source

Example app with Flow

This example shows how you can use Flow, with the transform-flow-strip-types babel plugin stripping flow type annotations from your output code.

Deploy your own

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

bash
npx create-next-app --example with-flow with-flow-app
bash
yarn create next-app --example with-flow with-flow-app
bash
pnpm create next-app --example with-flow with-flow-app

Deploy it to the cloud with Vercel (Documentation).