SaraVieira / preact-cli-plugin-flow

Use flow with the Preact CLI
MIT License
17 stars 4 forks source link

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:

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