Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to install flow on gatsbyjs

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
Source by imedadel.me #
 
PREVIOUS NEXT
Tagged: #install #flow #gatsbyjs
ADD COMMENT
Topic
Name
6+2 =