{"action":"created","issue":{"url":"https://api.github.com/repos/yuche/vue-strap/issues/9","labels_url":"https://api.github.com/repos/yuche/vue-strap/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/yuche/vue-strap/issues/9/comments","events_url":"https://api.github.com/repos/yuche/vue-strap/issues/9/events","html_url":"https://github.com/yuche/vue-strap/issues/9","id":110621217,"number":9,"title":"errors when using webpack and vue-loader","user":{"login":"ablipan","id":4636330,"avatar_url":"https://avatars.githubusercontent.com/u/4636330?v=3","gravatar_id":"","url":"https://api.github.com/users/ablipan","html_url":"https://github.com/ablipan","followers_url":"https://api.github.com/users/ablipan/followers","following_url":"https://api.github.com/users/ablipan/following{/other_user}","gists_url":"https://api.github.com/users/ablipan/gists{/gist_id}","starred_url":"https://api.github.com/users/ablipan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ablipan/subscriptions","organizations_url":"https://api.github.com/users/ablipan/orgs","repos_url":"https://api.github.com/users/ablipan/repos","events_url":"https://api.github.com/users/ablipan/events{/privacy}","received_events_url":"https://api.github.com/users/ablipan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yuche/vue-strap/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-09T09:29:22Z","updated_at":"2015-10-10T02:46:35Z","closed_at":null,"body":"**I've got the errors in console after running 'webpack' **\r\n<p style=\"color:red\">\r\nERROR in ./~/vue-strap/src/main.js\r\nModule parse failed: /Users/Pan/Documents/Js/js framework/Vue/vue-strap/demo/node_modules/vue-strap/src/main.js Line 1: Unexpected token\r\nYou may need an appropriate loader to handle this file type.\r\n| export alert from './Alert.vue'\r\n| export carousel from './Carousel.vue'\r\n| export slider from './Slider.vue'\r\n @ ./~/babel-loader?optional[]=runtime!./~/vue-loader/lib/selector.js?type=script&index=0!./src/app.vue 5:11-31\r\n</p>\r\n\r\n**My app.vue**\r\n\r\n```javascript\r\n//...\r\nmodule.exports = {\r\ncomponents:{\r\n    alert: require('vue-strap').alert\r\n  }\r\n//...\r\n}\r\n//...\r\n```\r\n**My webpack.config.js**\r\n\r\n```javascript\r\nvar vue = require('vue-loader'),\r\n  path = require('path'), //\r\n  nodeRoot = path.join(__dirname, 'node_modules');\r\nmodule.exports = {\r\n  entry: \"./src/main.js\",\r\n  output: {\r\n    path: \"./build\",\r\n    filename: \"build.js\"\r\n  },\r\n  resolve: {\r\n    root: [nodeRoot]\r\n  },\r\n  module: {\r\n    loaders: [{\r\n      test: /\\.vue$/,\r\n      loader: \"vue\"\r\n    }]\r\n  },\r\n  devtool: 'source-map'\r\n}\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yuche/vue-strap/issues/comments/147026097","html_url":"https://github.com/yuche/vue-strap/issues/9#issuecomment-147026097","issue_url":"https://api.github.com/repos/yuche/vue-strap/issues/9","id":147026097,"user":{"login":"yuche","id":7202516,"avatar_url":"https://avatars.githubusercontent.com/u/7202516?v=3","gravatar_id":"","url":"https://api.github.com/users/yuche","html_url":"https://github.com/yuche","followers_url":"https://api.github.com/users/yuche/followers","following_url":"https://api.github.com/users/yuche/following{/other_user}","gists_url":"https://api.github.com/users/yuche/gists{/gist_id}","starred_url":"https://api.github.com/users/yuche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuche/subscriptions","organizations_url":"https://api.github.com/users/yuche/orgs","repos_url":"https://api.github.com/users/yuche/repos","events_url":"https://api.github.com/users/yuche/events{/privacy}","received_events_url":"https://api.github.com/users/yuche/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T02:46:35Z","updated_at":"2015-10-10T02:46:35Z","body":"@ablipan Sorry, my bad. Now you can use `npm run docs`\r\n\r\nDid you get any errors  on your browser console when popover component problem happened?"}}