iview-project
iview-project copied to clipboard
This project is build for Vue.js 2 + vue-router + webpack2 + iView 3
现在用最新版本的webpack 会报错
按照教程: 在执行npm run init时报错,说明系统为windows系统。 报错文件为:app.vue和index.vue。 报错截图为: ![qq 20171225153332](https://user-images.githubusercontent.com/29647764/34335367-18da5ba0-e989-11e7-907c-3703f6eadb45.png) ![qq 20171225153341](https://user-images.githubusercontent.com/29647764/34335368-190a5440-e989-11e7-8d7b-9fa6d8502057.png) ![image](https://user-images.githubusercontent.com/29647764/34335447-9c3d3c06-e989-11e7-8e7f-f4bdafdf399f.png) 即时删除app.vue和index.vue内容,一样报错。 求指导,谢谢
npm install npm run init npm run dev
> webpack-dev-server --inline --hot --compress --history-api-fallback --config webpack.dev.config.js events.js:160 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE 127.0.0.1:8080 at Object.exports._errnoException (util.js:1022:11) at exports._exceptionWithHostPort (util.js:1045:20) at Server._listen2 (net.js:1259:14) at...
这个错误是因为 webpack.base.config.js文件42行 的正则错误原因造成的,请改成 如下: `test: /iview\/.*?\.js$/,`
一个一个的下好麻烦
解决build后打开页面空白问题,同时修改了build后把index_prod.html放入了dist目录
all npm packages was updated include webpack
after run init & dev, chinese change into messy code,I dont know how to fix this,Is there anyone who can help me ?
How to set expanded table open by default? i found this params "_expanded: true", but don't know where it must be placed reference : "给行数据 data 的某项设置 _expanded 为 true,可以默认展开当前行,设置...