1.0.9 • Published 2 months ago

auto_redux_code v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

使用

在项目根目录下创建auto_redux_code_config.json文件,并按照如下格式配置:

{   
    "inputData":[
        {
            "api": "apis目录下的函数名",
            "type": "redux的type",
            "comment": "添加的注释",
            "storeFilename": "处理的文件名,saga/action/type/api四个文件名相同",
            "createStoreMethodName": "创建函数的基本名词,会拼接action或saga",
            "skip": "是否自动跳过,true或者false,选填,默认跳过true",
            "inspect": "手动确认后才写入到文件,true或者false,选填,默认不确认false"
        }
    ],
}

暂不支持自定义目录,私有工具

1.0.9

2 months ago

1.0.8

4 months ago

1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

6 months ago

1.0.1

7 months ago

1.0.0

8 months ago