Skip to content

intheblackworld/flow-react

Repository files navigation

Install flow

brew update
brew install flow
yarn add flow-bin -D

Use flow with vscode

  1. 安裝 vscode ESLint 套件
  2. 設定 .eslintrc
  3. 安裝需要 package

ref

Use flow with babel/webpack/react

ref

// 使用 flow-typed 指令安裝第三方套件可以讓你定義他們的 interface
yarn global add flow-typed
// ex. flow-typed install rxjs@5.0.x

TODO List

enviroment config

Webpack Goal

Folder Structure

. |-- dist/ |-- mockAPI/ (fake api generator) |-- src/ |-- assets/ 靜態資源 |-- components/ (dump components, antd custom components) |-- containers/ (pages, smart components) |-- libs/ (第三方套件庫) |-- middleware/ |-- router/ |-- scripts/ (可執行的 nodejs file or bash file) |-- store/ |-- utils/ |-- main.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages