{"action":"created","issue":{"url":"https://api.github.com/repos/ElemeFE/vue-swipe/issues/26","repository_url":"https://api.github.com/repos/ElemeFE/vue-swipe","labels_url":"https://api.github.com/repos/ElemeFE/vue-swipe/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/ElemeFE/vue-swipe/issues/26/comments","events_url":"https://api.github.com/repos/ElemeFE/vue-swipe/issues/26/events","html_url":"https://github.com/ElemeFE/vue-swipe/issues/26","id":182465480,"number":26,"title":"组件化时报错？","user":{"login":"tuiqu","id":20797357,"avatar_url":"https://avatars1.githubusercontent.com/u/20797357?v=3","gravatar_id":"","url":"https://api.github.com/users/tuiqu","html_url":"https://github.com/tuiqu","followers_url":"https://api.github.com/users/tuiqu/followers","following_url":"https://api.github.com/users/tuiqu/following{/other_user}","gists_url":"https://api.github.com/users/tuiqu/gists{/gist_id}","starred_url":"https://api.github.com/users/tuiqu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuiqu/subscriptions","organizations_url":"https://api.github.com/users/tuiqu/orgs","repos_url":"https://api.github.com/users/tuiqu/repos","events_url":"https://api.github.com/users/tuiqu/events{/privacy}","received_events_url":"https://api.github.com/users/tuiqu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-12T08:31:28Z","updated_at":"2017-04-17T08:24:48Z","closed_at":null,"body":"```\n<template>\n\n    <swipe class=\"my-swipe\">\n        <swipe-item class=\"slide1\"></swipe-item>\n        <swipe-item class=\"slide2\"></swipe-item>\n        <swipe-item class=\"slide3\"></swipe-item>\n    </swipe>\n</template>\n\n<script>\nrequire('vue-swipe/dist/vue-swipe.css');\n// in ES6 modules\nimport { Swipe, SwipeItem } from 'vue-swipe';\n\nexport default {\n  components: {\n    'swipe': Swipe,\n    'swipe-item': SwipeItem\n  }\n}\n</script>\n```\n\n错误代码\n`[Vue warn]: You are using the runtime-only build of Vue where the template option is not available. Either pre-compile the templates into render functions, or use the compiler-included build. \n(found in component <mt-swipe>)`\n"},"comment":{"url":"https://api.github.com/repos/ElemeFE/vue-swipe/issues/comments/294430735","html_url":"https://github.com/ElemeFE/vue-swipe/issues/26#issuecomment-294430735","issue_url":"https://api.github.com/repos/ElemeFE/vue-swipe/issues/26","id":294430735,"user":{"login":"ucasmaster","id":27671969,"avatar_url":"https://avatars0.githubusercontent.com/u/27671969?v=3","gravatar_id":"","url":"https://api.github.com/users/ucasmaster","html_url":"https://github.com/ucasmaster","followers_url":"https://api.github.com/users/ucasmaster/followers","following_url":"https://api.github.com/users/ucasmaster/following{/other_user}","gists_url":"https://api.github.com/users/ucasmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/ucasmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucasmaster/subscriptions","organizations_url":"https://api.github.com/users/ucasmaster/orgs","repos_url":"https://api.github.com/users/ucasmaster/repos","events_url":"https://api.github.com/users/ucasmaster/events{/privacy}","received_events_url":"https://api.github.com/users/ucasmaster/received_events","type":"User","site_admin":false},"created_at":"2017-04-17T08:24:48Z","updated_at":"2017-04-17T08:24:48Z","body":"+1"}}
{"actor":{"display_login":"ucasmaster"}}