📅  最后修改于: 2022-03-11 14:50:25.830000             🧑  作者: Mango
yarn add gatsby-plugin-flow
Open gatsby-config.js file and Insert the following code
modules.exports = {
plugins: [
// your other plugins
`gatsby-config.js`, // highlight-line
// your other plugins
],
}
yarn add -D flow-bin
You can initialize Flow by running the command
npx flow init
Check your code
npx flow