Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
zhuangtq opened this issue Jan 12, 2018 · 3 comments

Comments

@zhuangtq
Copy link

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

default

@zhuangtq
Copy link
Author

zhuangtq commented Jan 12, 2018

$ 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.

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

@sorrycc
Copy link
Member

sorrycc commented Jan 12, 2018

不是有报错提示吗?

@qqqqqqaa
Copy link

qqqqqqaa commented Jan 12, 2018

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

@sorrycc sorrycc closed this as completed Apr 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants