iview-project icon indicating copy to clipboard operation
iview-project copied to clipboard

打包后页面空白

Open zhangyuanlj opened this issue 7 years ago • 4 comments

iView 版本号

2.0.0-rc.8

操作系统/浏览器 版本号

windows7/Chrome 58.0.3029.81

Vue 版本号

"vue": "^2.2.6", "vue-router": "^2.2.1",

能够复现问题的在线示例(bug 相关不提供在线示例将直接 close)

复现步骤

问题现象,以及你期望的结果是怎样的?

页面显示正常

你估计可能的原因是什么(选填)?

zhangyuanlj avatar Apr 25 '17 15:04 zhangyuanlj

当头一棒

fuzik-sirui avatar Apr 26 '17 12:04 fuzik-sirui

空白是怎样的空白呀? 我今天发现 npm run dev 总是提示 404 ,index.html 并没有生成。。

leixu2txtek avatar Jun 08 '17 07:06 leixu2txtek

然后执行一次 webpack --progress --hide-modules --config webpack.dev.config.js 生成一个 index.html 后 再运行 npm run dev 即可; 操作系统 windows node v8

leixu2txtek avatar Jun 08 '17 07:06 leixu2txtek

楼上的回答很正确,解决问题

aiden66535 avatar Jun 10 '17 13:06 aiden66535