yangyuscript / Vue-iView-demo

vue2.0(vue-cli+vue-router+vue-resource+iView)project
85 stars 76 forks source link

./src/router/index.js Line5 大小写问题 #1

Open jasondayee opened 5 years ago

jasondayee commented 5 years ago

./src/router/index.js Line5 大小写问题 导致linux报错

 ERROR  Failed to compile with 1 errors            下午3:47:11

This dependency was not found:

* iView/dist/styles/iview.css in ./src/router/index.js

To install it, you can run: npm install --save iView/dist/styles/iview.css

image 修改为 image 运行正常

yangyuscript commented 5 years ago

可能是iView的版本不一样,我本地是可以跑的。

jasondayee commented 5 years ago

你用的是windows还是mac呢?(windows不区分大小写)

yangyuscript commented 5 years ago

image 我的机器是win,你所说的windows不区分大小写是指vue不区分大小写?我看了下官网和我本地的iview路径确实应该是小写的。