{"action":"created","issue":{"url":"https://api.github.com/repos/pi0/bootstrap-vue/issues/4","repository_url":"https://api.github.com/repos/pi0/bootstrap-vue","labels_url":"https://api.github.com/repos/pi0/bootstrap-vue/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/pi0/bootstrap-vue/issues/4/comments","events_url":"https://api.github.com/repos/pi0/bootstrap-vue/issues/4/events","html_url":"https://github.com/pi0/bootstrap-vue/issues/4","id":184168361,"number":4,"title":"import error","user":{"login":"mxm145","id":869702,"avatar_url":"https://avatars.githubusercontent.com/u/869702?v=3","gravatar_id":"","url":"https://api.github.com/users/mxm145","html_url":"https://github.com/mxm145","followers_url":"https://api.github.com/users/mxm145/followers","following_url":"https://api.github.com/users/mxm145/following{/other_user}","gists_url":"https://api.github.com/users/mxm145/gists{/gist_id}","starred_url":"https://api.github.com/users/mxm145/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxm145/subscriptions","organizations_url":"https://api.github.com/users/mxm145/orgs","repos_url":"https://api.github.com/users/mxm145/repos","events_url":"https://api.github.com/users/mxm145/events{/privacy}","received_events_url":"https://api.github.com/users/mxm145/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-20T08:43:33Z","updated_at":"2016-10-20T09:04:54Z","closed_at":null,"body":"My code is:\r\njs:\r\n```javascript\r\nimport Vue from 'vue/dist/vue.js';\r\nimport modal from 'bootstrap-vue';\r\nnew Vue({\r\n\tel: '#test'\r\n})\r\n```\r\nhtml:\r\n```html\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n\t<meta charset=\"UTF-8\">\r\n\t<title>test</title>\r\n</head>\r\n<body>\r\n<div id=\"test\"></div>\r\n<script src=\"dist/test.js\"></script>\r\n</body>\r\n</html>\r\n```\r\nI have installed babel and have .babelsrc file\r\nmy package.json is\r\n```javascript\r\n{\r\n  \"name\": \"test\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"test\",\r\n  \"main\": \"index.js\",\r\n  \"dependencies\": {\r\n    \"babel-runtime\": \"^6.11.6\",\r\n    \"bootstrap\": \"^3.3.7\",\r\n    \"bootstrap-vue\": \"^0.0.3\",\r\n    \"vue\": \"^2.0.1\",\r\n    \"vue-resource\": \"^1.0.3\",\r\n    \"vue-router\": \"^2.0.1\",\r\n    \"vue-strap\": \"^1.1.29\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"babel-core\": \"^6.0.0\",\r\n    \"babel-loader\": \"^6.0.0\",\r\n    \"babel-plugin-transform-runtime\": \"^6.0.0\",\r\n    \"babel-preset-es2015\": \"^6.0.0\",\r\n    \"babel-preset-stage-2\": \"^6.0.0\",\r\n    \"cross-env\": \"^1.0.6\",\r\n    \"css-loader\": \"^0.23.0\",\r\n    \"file-loader\": \"^0.8.4\",\r\n    \"json-loader\": \"^0.5.4\",\r\n    \"url-loader\": \"^0.5.7\",\r\n    \"vue-hot-reload-api\": \"^1.2.0\",\r\n    \"vue-html-loader\": \"^1.0.0\",\r\n    \"vue-loader\": \"^8.2.1\",\r\n    \"vue-style-loader\": \"^1.0.0\",\r\n    \"webpack\": \"^1.12.2\",\r\n    \"webpack-dev-server\": \"^1.12.0\"\r\n  },\r\n  \"scripts\": {\r\n    \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\r\n  },\r\n  \"keywords\": [\r\n    \"password\"\r\n  ],\r\n  \"author\": \"lemon\",\r\n  \"license\": \"ISC\"\r\n}\r\n```\r\nmy error is\r\n![image](https://cloud.githubusercontent.com/assets/869702/19552854/4d2a0a7a-96e4-11e6-9435-a67a5b5dd9b7.png)\r\n"},"comment":{"url":"https://api.github.com/repos/pi0/bootstrap-vue/issues/comments/255050378","html_url":"https://github.com/pi0/bootstrap-vue/issues/4#issuecomment-255050378","issue_url":"https://api.github.com/repos/pi0/bootstrap-vue/issues/4","id":255050378,"user":{"login":"mxm145","id":869702,"avatar_url":"https://avatars.githubusercontent.com/u/869702?v=3","gravatar_id":"","url":"https://api.github.com/users/mxm145","html_url":"https://github.com/mxm145","followers_url":"https://api.github.com/users/mxm145/followers","following_url":"https://api.github.com/users/mxm145/following{/other_user}","gists_url":"https://api.github.com/users/mxm145/gists{/gist_id}","starred_url":"https://api.github.com/users/mxm145/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxm145/subscriptions","organizations_url":"https://api.github.com/users/mxm145/orgs","repos_url":"https://api.github.com/users/mxm145/repos","events_url":"https://api.github.com/users/mxm145/events{/privacy}","received_events_url":"https://api.github.com/users/mxm145/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T09:04:54Z","updated_at":"2016-10-20T09:04:54Z","body":"I just put the sample code to my html\r\n```html\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n\t<meta charset=\"UTF-8\">\r\n\t<title>test</title>\r\n\t<link rel=\"stylesheet\" href=\"node_modules/bootstrap/dist/css/bootstrap.css\">\r\n</head>\r\n<body>\r\n<div id=\"test\">\r\n<b-button variant=\"primary\" v-on:click=\"$root.$emmit('show::modal', 'modal1')\">\r\n  Show Modal\r\n</b-button>\r\n\r\n<!-- modal -->\r\n<b-modal id=\"modal1\" size=\"md\" :fade=\"false\">\r\n  <div slot=\"modal-header\">\r\n    <h3>header</h3>\r\n  </div>\r\n  <div slot=\"modal-body\">\r\n    body\r\n  </div>\r\n  <div slot=\"modal-footer\">\r\n    <button class=\"btn btn-primary\" v-on:click=\"$root.$emmit('hide::modal', 'modal1')\">\r\n      OK\r\n    </button>\r\n  </div>\r\n</b-modal>\r\n</div>\r\n\r\n<script src=\"dist/test.js\"></script>\r\n</body>\r\n</html>\r\n```"}}
{"actor":{"display_login":"mxm145"}}