Dva: 请问npm start成功后,打开的页面是空白的。访问其它路由也全是空白的

Created on 12 Jan 2018  ·  3Comments  ·  Source: dvajs/dva

请问npm start成功后,打开的页面是空白的。访问其它路由也全是空白的。。

default

Most helpful comment

不是有报错提示吗?

All 3 comments

$ npm start

@ start :。。。。
set PORT=9111 && roadhog server

Starting the development server...

[babel-plugin-dva-hmr][INFO] got routerPath ./router
[babel-plugin-dva-hmr][INFO] got routerPath ./router
Compiled successfully in 25.5s!

The app is running at:

http://localhost:9111/

Note that the development build is not optimized.
To create a production build, use npm run build.

请问下是什么原因,求大神们解答下,谢谢

不是有报错提示吗?

路由配置的问题. dav 比较好用 good

Was this page helpful?
0 / 5 - 0 ratings