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 run build 直接可以打开index.html 来预览 #20

Open
zhien520 opened this issue Jul 12, 2017 · 7 comments
Open

Comments

@zhien520
Copy link

或者如何把项目包 给别人 别人不用起服务 直接可以打开呢

@zhien520
Copy link
Author

还有啊 我把dist包 放到nginx里面 默认打开是什么权限的 数据都看不到 如何把默认为最高权限呢

@zhien520
Copy link
Author

@pmg1989

@pmg1989
Copy link
Owner

pmg1989 commented Jul 13, 2017

@zhien520 ,服务器还是是要架的,不然路由不解析。能详细描述下为什么看不到数据么

@mapengze
Copy link

@pmg1989 作者大大 到底该咋整可以在build之后 直接打开html啊 急死我了

@mapengze
Copy link

@pmg1989 可以加下我联系方式吗.....扣扣57180484

@pmg1989
Copy link
Owner

pmg1989 commented Aug 16, 2017

这样吧,你可以尝试把browserHistory换成hashHistory,就不需要服务器配置了

@minxiongxiong
Copy link

你好,为什么打包后没有.html文件呢

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

4 participants