{"action":"created","issue":{"url":"https://api.github.com/repos/feinimoshu753/vue-webpack-mutilpage/issues/3","repository_url":"https://api.github.com/repos/feinimoshu753/vue-webpack-mutilpage","labels_url":"https://api.github.com/repos/feinimoshu753/vue-webpack-mutilpage/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/feinimoshu753/vue-webpack-mutilpage/issues/3/comments","events_url":"https://api.github.com/repos/feinimoshu753/vue-webpack-mutilpage/issues/3/events","html_url":"https://github.com/feinimoshu753/vue-webpack-mutilpage/issues/3","id":322650659,"number":3,"title":"引入element-ui后报错","user":{"login":"luodang007","id":37128506,"avatar_url":"https://avatars1.githubusercontent.com/u/37128506?v=4","gravatar_id":"","url":"https://api.github.com/users/luodang007","html_url":"https://github.com/luodang007","followers_url":"https://api.github.com/users/luodang007/followers","following_url":"https://api.github.com/users/luodang007/following{/other_user}","gists_url":"https://api.github.com/users/luodang007/gists{/gist_id}","starred_url":"https://api.github.com/users/luodang007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luodang007/subscriptions","organizations_url":"https://api.github.com/users/luodang007/orgs","repos_url":"https://api.github.com/users/luodang007/repos","events_url":"https://api.github.com/users/luodang007/events{/privacy}","received_events_url":"https://api.github.com/users/luodang007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-14T02:05:30Z","updated_at":"2018-05-14T02:08:57Z","closed_at":null,"author_association":"NONE","body":"用的最新的脚手架，lz提供的功能已经可以正常使用。加入elementui后，因为这个里面也有css文件，run dev报错  error  in ./node_modules/_element-ui@2.3.7@element-ui/lib/theme-chalk/index.css,有空的话麻烦帮忙看看如何解决，如果按lz这种打包css分离方式的话。谢谢\r\n\r\nModule build failed: Error: \"extract-text-webpack-plugin\" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-webpack-plugin for the usage example\r\n    at Object.module.exports.pitch (D:\\erp\\webapp\\xampp\\htdocs\\luodang007\\test\\node_modules\\_extract-text-webpack-plugin@2.1.2@extract-text-webpack-plugin\\loader.js:25:9)\r\n\r\n最新的package.json\r\n{\r\n  \"name\": \"test\",\r\n  \"description\": \"A Vue.js project\",\r\n  \"version\": \"1.0.0\",\r\n  \"author\": \"luodang007 <363153187@qq.com>\",\r\n  \"license\": \"MIT\",\r\n  \"private\": true,\r\n  \"scripts\": {\r\n    \"dev\": \"node build/dev-server.js\",\r\n    \"build\": \"node build/build.js\"\r\n  },\r\n  \"dependencies\": {\r\n    \"element-ui\": \"^2.3.7\",\r\n    \"style-loader\": \"^0.21.0\",\r\n    \"vue\": \"^2.5.11\",\r\n    \"vux\": \"^2.1.1-rc.11\"\r\n  },\r\n  \"browserslist\": [\r\n    \"> 1%\",\r\n    \"last 2 versions\",\r\n    \"not ie <= 8\"\r\n  ],\r\n  \"devDependencies\": {\r\n    \"babel-core\": \"^6.26.0\",\r\n    \"babel-loader\": \"^7.1.2\",\r\n    \"babel-preset-env\": \"^1.6.0\",\r\n    \"babel-preset-stage-3\": \"^6.24.1\",\r\n    \"cross-env\": \"^5.0.5\",\r\n    \"css-loader\": \"^0.28.7\",\r\n    \"eventsource-polyfill\": \"^0.9.6\",\r\n    \"file-loader\": \"^1.1.4\",\r\n    \"friendly-errors-webpack-plugin\": \"^1.1.3\",\r\n    \"html-webpack-plugin\": \"^2.28.0\",\r\n    \"vue-loader\": \"^13.0.5\",\r\n    \"vue-template-compiler\": \"^2.4.4\",\r\n    \"vux-loader\": \"^1.0.56\",\r\n    \"webpack\": \"^3.6.0\",\r\n    \"webpack-hot-middleware\": \"^2.16.1\",\r\n    \"webpack-merge\": \"^2.6.1\",\r\n    \"extract-text-webpack-plugin\": \"^2.1.2\",\r\n    \"webpack-dev-server\": \"^2.9.1\"\r\n  },\r\n  \"engines\": {\r\n    \"node\": \">= 4.0.0\",\r\n    \"npm\": \">= 3.0.0\"\r\n  }\r\n}\r\n\r\nindex.js引入elementui\r\nimport Vue from 'vue'\r\nimport ElementUI from 'element-ui';\r\nimport 'element-ui/lib/theme-chalk/index.css';\r\nimport App from './app'\r\n\r\nVue.use(ElementUI)\r\n/* eslint-disable no-new */\r\nnew Vue({\r\n  components: { App }\r\n}).$mount('app')\r\n"},"comment":{"url":"https://api.github.com/repos/feinimoshu753/vue-webpack-mutilpage/issues/comments/388677263","html_url":"https://github.com/feinimoshu753/vue-webpack-mutilpage/issues/3#issuecomment-388677263","issue_url":"https://api.github.com/repos/feinimoshu753/vue-webpack-mutilpage/issues/3","id":388677263,"user":{"login":"feinimoshu753","id":11944235,"avatar_url":"https://avatars0.githubusercontent.com/u/11944235?v=4","gravatar_id":"","url":"https://api.github.com/users/feinimoshu753","html_url":"https://github.com/feinimoshu753","followers_url":"https://api.github.com/users/feinimoshu753/followers","following_url":"https://api.github.com/users/feinimoshu753/following{/other_user}","gists_url":"https://api.github.com/users/feinimoshu753/gists{/gist_id}","starred_url":"https://api.github.com/users/feinimoshu753/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feinimoshu753/subscriptions","organizations_url":"https://api.github.com/users/feinimoshu753/orgs","repos_url":"https://api.github.com/users/feinimoshu753/repos","events_url":"https://api.github.com/users/feinimoshu753/events{/privacy}","received_events_url":"https://api.github.com/users/feinimoshu753/received_events","type":"User","site_admin":false},"created_at":"2018-05-14T02:08:57Z","updated_at":"2018-05-14T02:08:57Z","author_association":"OWNER","body":"@luodang007 晚上抽个时间看看，现在脚手架跟新了，项目代码还是老的"}}
{"actor":{"display_login":"feinimoshu753"}}