dva-cli icon indicating copy to clipboard operation
dva-cli copied to clipboard

The dva command line utility.

Results 67 dva-cli issues
Sort by recently updated
recently updated
newest added

求助下:启动时报错了 proxy:load rule from proxy.config.js err with request:Error: connect ECONNREFUSED 127.0.0.1:8000 err with request:Error: connect ECONNREFUSED 127.0.0.1:8000 /favicon.ioc

入口处index.js添加上 app.model(require('./models/login').default), 打包的出来index.js文件从1M升到4M,这是什么原因造成的?

![image](https://user-images.githubusercontent.com/22005273/86345725-7dca2880-bc8e-11ea-9d47-48fd4163903b.png) ![image](https://user-images.githubusercontent.com/22005273/86345760-891d5400-bc8e-11ea-906f-5ccad03386d6.png)

Actions must be plain objects. Use custom middleware for async actions. 动作必须是普通对象。为异步操作使用定制的中间件。 如何去配置这个呢,项目并未暴露配置位置

cmd下命令: ` E:\PRO2018\DQ>dva -v dva-cli version 0.9.2 dva version 2.1.0 roadhog version 2.2.0 E:\PRO2018\DQ>dva g route Products C:\Users\cyh\AppData\Roaming\npm\node_modules\dva-cli\bin\dva-generate 😢 dva generate is disabled since we don't have enough time currently....

``` Error: connect ECONNREFUSED 127.0.0.1:7001 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1163:14) ```

![image](https://user-images.githubusercontent.com/19618653/47695290-4e9f2080-dc3c-11e8-9a58-920f6d113682.png) dva版本:0.9.2 node版本:v6.10.3

devServer无法配置,没有publicPath,打包出来的文件文件默认是 http://localhost:8000/index.js http://localhost:8000/index.css 这样的路径,无法直接访问该文件,导致和服务端调试的时候,无法将文件map到本地,因为以上两个路径直接返回了html,请问如何解决这个问题