{"action":"closed","issue":{"url":"https://api.github.com/repos/zwwill/yanxuan-weex-demo/issues/55","repository_url":"https://api.github.com/repos/zwwill/yanxuan-weex-demo","labels_url":"https://api.github.com/repos/zwwill/yanxuan-weex-demo/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/zwwill/yanxuan-weex-demo/issues/55/comments","events_url":"https://api.github.com/repos/zwwill/yanxuan-weex-demo/issues/55/events","html_url":"https://github.com/zwwill/yanxuan-weex-demo/issues/55","id":301059656,"number":55,"title":"使用vue-router进行底部的tab切换的时候出现问题","user":{"login":"Hideer","id":31301552,"avatar_url":"https://avatars1.githubusercontent.com/u/31301552?v=4","gravatar_id":"","url":"https://api.github.com/users/Hideer","html_url":"https://github.com/Hideer","followers_url":"https://api.github.com/users/Hideer/followers","following_url":"https://api.github.com/users/Hideer/following{/other_user}","gists_url":"https://api.github.com/users/Hideer/gists{/gist_id}","starred_url":"https://api.github.com/users/Hideer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hideer/subscriptions","organizations_url":"https://api.github.com/users/Hideer/orgs","repos_url":"https://api.github.com/users/Hideer/repos","events_url":"https://api.github.com/users/Hideer/events{/privacy}","received_events_url":"https://api.github.com/users/Hideer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-28T15:08:41Z","updated_at":"2018-03-28T12:26:41Z","closed_at":"2018-03-28T12:26:41Z","author_association":"NONE","body":"#如题\r\n\r\n# 想通过Vue-router进行tab切换组件，在src中配置好了router.js文件，执行npm start 后会出现.temp文件，文件中是对入口Vue文件进行引入，最开始我将组件写在src中使用，但是编译的时候，发现将所有组件以及入口Vue文件都在.temp中编译js，造成多入口的问题，随后我将组件的目录移除src，此时src中只有enter.js、index.vue、router.js这三个文件，但是这样她接着报Vue、Vue-router未引入之类的，依次解决但是，最后出现“”[Vue warn]: Error in render: \"TypeError: Cannot read property 'matched' of undefined\"此时我发现\r\n> 问题的症结还是编译打包的时候将所有的Vue编译成js入口文件，但是，看您的文件，并没有发现什么问题，\r\n# \r\n- 文件目录为\r\n![image](https://user-images.githubusercontent.com/31301552/36794761-39c89ecc-1cdc-11e8-96c9-a73c343c2c18.png)\r\n- weex项目构建是通过官方的weex create创建。。。\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"zwwill"}}