{"action":"created","issue":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/133","repository_url":"https://api.github.com/repos/nuxt/nuxt.js","labels_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/133/comments","events_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/133/events","html_url":"https://github.com/nuxt/nuxt.js/issues/133","id":200868406,"node_id":"MDU6SXNzdWUyMDA4Njg0MDY=","number":133,"title":"export 'default' (imported as 'store') was not found in '~store/index.js'","user":{"login":"pdxbmw","id":2008050,"node_id":"MDQ6VXNlcjIwMDgwNTA=","avatar_url":"https://avatars0.githubusercontent.com/u/2008050?v=4","gravatar_id":"","url":"https://api.github.com/users/pdxbmw","html_url":"https://github.com/pdxbmw","followers_url":"https://api.github.com/users/pdxbmw/followers","following_url":"https://api.github.com/users/pdxbmw/following{/other_user}","gists_url":"https://api.github.com/users/pdxbmw/gists{/gist_id}","starred_url":"https://api.github.com/users/pdxbmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdxbmw/subscriptions","organizations_url":"https://api.github.com/users/pdxbmw/orgs","repos_url":"https://api.github.com/users/pdxbmw/repos","events_url":"https://api.github.com/users/pdxbmw/events{/privacy}","received_events_url":"https://api.github.com/users/pdxbmw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-15T13:19:55Z","updated_at":"2018-11-05T10:07:58Z","closed_at":"2017-01-15T16:36:03Z","author_association":"NONE","body":"**Thank you for such a great tool!**\r\n\r\nI'm trying to use `vuex` store with module files, but am running into the error (v0.9.5): \r\n\r\n`export 'default' (imported as 'store') was not found in '~store/index.js'`\r\n\r\nMy directory structure looks like:\r\n\r\n```\r\n|— layouts\r\n|  |__ default.vue\r\n|— pages\r\n|  |__ index.vue\r\n|  |__ admin.vue\r\n|— store\r\n|  |__ index.js\r\n|  |__ admin.js\r\n```\r\n\r\nIn my `store/index.js`, I'm trying to simply do:\r\n\r\n```\r\nexport const state = { sidebar: false }\r\nexport const mutations = {}\r\n```\r\n\r\nAnd in `layout/default.vue`:\r\n\r\n```\r\n<template>\r\n  <div>\r\n    <navbar :show=\"true\"/>\r\n    <sidebar :show=\"$store.state.sidebar\"></sidebar>\r\n    <app-main/>\r\n    <footerbar/>\r\n  </div>\r\n</template>\r\n```\r\n\r\n_NOTE: I've tried using `mapState` to get the computed property `sidebar` as well, to no avail._\r\n\r\nI've also copied the example code from your [vuex-store-2](https://github.com/nuxt/nuxt.js/tree/master/examples/vuex-store-2), but get the same error. \r\n\r\nAny thoughts or suggestions?\r\n\r\nThanks again!\r\n\r\n\n\n<!--cmty--><!--cmty_prevent_hook-->\n<div align=\"right\"><sub><em>This question is available on <a href=\"https://nuxtjs.cmty.io\">Nuxt.js</a> community (<a href=\"https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c110\">#c110</a>)</em></sub></div>"},"comment":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/comments/435820444","html_url":"https://github.com/nuxt/nuxt.js/issues/133#issuecomment-435820444","issue_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/133","id":435820444,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTgyMDQ0NA==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-11-05T10:07:58Z","updated_at":"2018-11-05T10:07:58Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}