{"action":"created","issue":{"url":"https://api.github.com/repos/greyby/vue-spinner/issues/2","repository_url":"https://api.github.com/repos/greyby/vue-spinner","labels_url":"https://api.github.com/repos/greyby/vue-spinner/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/greyby/vue-spinner/issues/2/comments","events_url":"https://api.github.com/repos/greyby/vue-spinner/issues/2/events","html_url":"https://github.com/greyby/vue-spinner/issues/2","id":135195265,"number":2,"title":"ParseError: Unexpected token when trying to import","user":{"login":"nivv","id":4033930,"avatar_url":"https://avatars.githubusercontent.com/u/4033930?v=3","gravatar_id":"","url":"https://api.github.com/users/nivv","html_url":"https://github.com/nivv","followers_url":"https://api.github.com/users/nivv/followers","following_url":"https://api.github.com/users/nivv/following{/other_user}","gists_url":"https://api.github.com/users/nivv/gists{/gist_id}","starred_url":"https://api.github.com/users/nivv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nivv/subscriptions","organizations_url":"https://api.github.com/users/nivv/orgs","repos_url":"https://api.github.com/users/nivv/repos","events_url":"https://api.github.com/users/nivv/events{/privacy}","received_events_url":"https://api.github.com/users/nivv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-21T11:40:53Z","updated_at":"2016-02-25T20:40:27Z","closed_at":null,"body":"I'm getting the below error when trying to import any of the loaders. I've tried to create my own components with the same contents and that works fine. \r\n\r\n```javascript\r\nimport PulseLoader from 'vue-spinner/src/PulseLoader.vue'\r\n```\r\n\r\n```bash\r\n[12:38:54] gulp-notify: [Laravel Elixir] Browserify Failed!: Unexpected token\r\n\r\n/Users/user/projects/vue-project/node_modules/vue-spinner/src/PulseLoader.vue:1\r\n<template>\r\n^\r\nParseError: Unexpected token\r\n```"},"comment":{"url":"https://api.github.com/repos/greyby/vue-spinner/issues/comments/188974020","html_url":"https://github.com/greyby/vue-spinner/issues/2#issuecomment-188974020","issue_url":"https://api.github.com/repos/greyby/vue-spinner/issues/2","id":188974020,"user":{"login":"cyberdummy","id":2327552,"avatar_url":"https://avatars.githubusercontent.com/u/2327552?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberdummy","html_url":"https://github.com/cyberdummy","followers_url":"https://api.github.com/users/cyberdummy/followers","following_url":"https://api.github.com/users/cyberdummy/following{/other_user}","gists_url":"https://api.github.com/users/cyberdummy/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberdummy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberdummy/subscriptions","organizations_url":"https://api.github.com/users/cyberdummy/orgs","repos_url":"https://api.github.com/users/cyberdummy/repos","events_url":"https://api.github.com/users/cyberdummy/events{/privacy}","received_events_url":"https://api.github.com/users/cyberdummy/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T20:40:27Z","updated_at":"2016-02-25T20:40:27Z","body":"Its because browserify will not pass included files from the node_modules folder to its transformers (vueify).\r\n\r\n```js\r\nimport { PulseLoader } from 'vue-spinner/dist/vue-spinner.min';\r\n```\r\n\r\nAs an import line should work.\r\n\r\n"}}