Skip to content
Search

@babel/preset-flow

lastmod 2022-04-08created 2022-04-082 edits

Installation

You can add Flow as a Babel preset:

yarn add --dev @babel/core @babel/preset-flow

Add it to the Babel presets:

{
  "presets": ["@babel/preset-flow"]
}

If you want to run flow directly:

yarn add --dev flow-bin
yarn run flow init
yarn run flow

See also

author Zer0 sitemap