{"action":"closed","issue":{"url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/506","repository_url":"https://api.github.com/repos/Meituan-Dianping/mpvue","labels_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/506/labels{/name}","comments_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/506/comments","events_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/506/events","html_url":"https://github.com/Meituan-Dianping/mpvue/issues/506","id":324606152,"number":506,"title":"关于组件引入方式问题","user":{"login":"lixiang","id":1432758,"avatar_url":"https://avatars1.githubusercontent.com/u/1432758?v=4","gravatar_id":"","url":"https://api.github.com/users/lixiang","html_url":"https://github.com/lixiang","followers_url":"https://api.github.com/users/lixiang/followers","following_url":"https://api.github.com/users/lixiang/following{/other_user}","gists_url":"https://api.github.com/users/lixiang/gists{/gist_id}","starred_url":"https://api.github.com/users/lixiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lixiang/subscriptions","organizations_url":"https://api.github.com/users/lixiang/orgs","repos_url":"https://api.github.com/users/lixiang/repos","events_url":"https://api.github.com/users/lixiang/events{/privacy}","received_events_url":"https://api.github.com/users/lixiang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-19T06:31:35Z","updated_at":"2018-05-22T06:44:44Z","closed_at":"2018-05-22T06:44:44Z","author_association":"NONE","body":"# [问题简单描述]\r\n如果定义了一个组件 组件是以文件夹形式导出  会出现模板找到的情况\r\n比如 新建文件夹 test , 文件夹有test.vue index.js 2个文件 index.js 导出test.vue ,这种方式在其他vue项目是没问题的。\r\n**问题复现步骤:**\r\n\r\n1. [第一步]\r\n新建组件文件夹 并用index.js 方式导出\r\n2. [第二步]\r\n出现 warning为 Template \"index$63a27a96\" not found. 情况 组件不会渲染出来\r\n3. [其他步骤...]\r\n\r\n**期望的表现:**\r\n如果直接import 这个vue  还是可以渲染，是不是考虑文件夹形式导入问题？\r\n[在这里描述期望的表现]\r\n\r\n**观察到的表现:**\r\n\r\n[在这里描述观察到的表现]\r\n\r\n**屏幕截图和动态 GIF 图**\r\n\r\n![复现步骤的屏幕截图和动态 GIF 图](图片的 url)"}}
{"actor":{"display_login":"lixiang"}}