{"action":"created","issue":{"url":"https://api.github.com/repos/Justineo/vue-awesome/issues/7","repository_url":"https://api.github.com/repos/Justineo/vue-awesome","labels_url":"https://api.github.com/repos/Justineo/vue-awesome/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Justineo/vue-awesome/issues/7/comments","events_url":"https://api.github.com/repos/Justineo/vue-awesome/issues/7/events","html_url":"https://github.com/Justineo/vue-awesome/issues/7","id":182107581,"number":7,"title":"Uncaught SyntaxError: Unexpected token import","user":{"login":"ryandeussing","id":216835,"avatar_url":"https://avatars.githubusercontent.com/u/216835?v=3","gravatar_id":"","url":"https://api.github.com/users/ryandeussing","html_url":"https://github.com/ryandeussing","followers_url":"https://api.github.com/users/ryandeussing/followers","following_url":"https://api.github.com/users/ryandeussing/following{/other_user}","gists_url":"https://api.github.com/users/ryandeussing/gists{/gist_id}","starred_url":"https://api.github.com/users/ryandeussing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryandeussing/subscriptions","organizations_url":"https://api.github.com/users/ryandeussing/orgs","repos_url":"https://api.github.com/users/ryandeussing/repos","events_url":"https://api.github.com/users/ryandeussing/events{/privacy}","received_events_url":"https://api.github.com/users/ryandeussing/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-10-10T20:29:16Z","updated_at":"2016-10-22T20:04:47Z","closed_at":"2016-10-22T02:15:11Z","body":"First, I installed: `npm install vue-awesome --save-dev`\r\n\r\nThen I added the following lines to `main.js`, based on the readme and example: \r\n```javascript\r\n\r\nimport Icon from 'vue-awesome/src/components/Icon.vue';\r\nVue.component('icon', Icon);\r\n\r\n```\r\n I get this error in the browser console:\r\n`> Uncaught SyntaxError: Unexpected token import          Icon.vue?7cbb:36`\r\n\r\nAm I doing something incorrect? Thx!"},"comment":{"url":"https://api.github.com/repos/Justineo/vue-awesome/issues/comments/255550674","html_url":"https://github.com/Justineo/vue-awesome/issues/7#issuecomment-255550674","issue_url":"https://api.github.com/repos/Justineo/vue-awesome/issues/7","id":255550674,"user":{"login":"Justineo","id":1726061,"avatar_url":"https://avatars.githubusercontent.com/u/1726061?v=3","gravatar_id":"","url":"https://api.github.com/users/Justineo","html_url":"https://github.com/Justineo","followers_url":"https://api.github.com/users/Justineo/followers","following_url":"https://api.github.com/users/Justineo/following{/other_user}","gists_url":"https://api.github.com/users/Justineo/gists{/gist_id}","starred_url":"https://api.github.com/users/Justineo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Justineo/subscriptions","organizations_url":"https://api.github.com/users/Justineo/orgs","repos_url":"https://api.github.com/users/Justineo/repos","events_url":"https://api.github.com/users/Justineo/events{/privacy}","received_events_url":"https://api.github.com/users/Justineo/received_events","type":"User","site_admin":false},"created_at":"2016-10-22T20:04:47Z","updated_at":"2016-10-22T20:04:47Z","body":"Sorry, I forgot to mention one more thing. Vue's `webpack` project template has excluded `node_modules` from files to be transpiled by Babel so you have to exclude `vue-awesome` from the `exclude` pattern in `build/webpack.base.conf.js` like this: `exclude: /node_modules(?!\\/vue-awesome\\/)/`."}}
{"actor":{"display_login":"Justineo"}}