@jacobmischka/preact-cli-plugin-flow
v0.2.1
Published
Use flow with the Preact CLI
Downloads
3
Readme
preact-cli-plugin-flow
Use flow with the Preact CLI
Getting Started
Install it via npm:
npm install preact-cli-plugin-flow --save-dev
This will install:
After install this plugin will run 3 commands:
- flow init to create your .flowconfig
- install flow-bin so you can run the flow binary in your folder
- run flow-typed update to get all the definitions from libs installed
After this just include it in your project by creating a preact.config.js
const preactCliFlow = require('preact-cli-plugin-flow');
export default function (config) {
preactCliFlow(config);
}
Now you can use flow all you want 🎉
License
MIT