{"action":"closed","issue":{"url":"https://api.github.com/repos/vuejs/vue/issues/1981","labels_url":"https://api.github.com/repos/vuejs/vue/issues/1981/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue/issues/1981/comments","events_url":"https://api.github.com/repos/vuejs/vue/issues/1981/events","html_url":"https://github.com/vuejs/vue/issues/1981","id":120808154,"number":1981,"title":"<router-view> can only be used inside a router-enabled app.","user":{"login":"NaderIkladious","id":6675583,"avatar_url":"https://avatars.githubusercontent.com/u/6675583?v=3","gravatar_id":"","url":"https://api.github.com/users/NaderIkladious","html_url":"https://github.com/NaderIkladious","followers_url":"https://api.github.com/users/NaderIkladious/followers","following_url":"https://api.github.com/users/NaderIkladious/following{/other_user}","gists_url":"https://api.github.com/users/NaderIkladious/gists{/gist_id}","starred_url":"https://api.github.com/users/NaderIkladious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaderIkladious/subscriptions","organizations_url":"https://api.github.com/users/NaderIkladious/orgs","repos_url":"https://api.github.com/users/NaderIkladious/repos","events_url":"https://api.github.com/users/NaderIkladious/events{/privacy}","received_events_url":"https://api.github.com/users/NaderIkladious/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-07T16:13:21Z","updated_at":"2015-12-07T16:55:34Z","closed_at":"2015-12-07T16:55:34Z","body":"I have this warning although routing is working fine but I cant get rid of it\r\n\r\n\r\nHere is the app.js\r\n```javascript\r\n\r\nVue.http.options.root = '/api/v1';\r\nVue.config.debug = true;\r\n\r\nvar App = new Vue({\r\n  el: '#app'\r\n})\r\n\r\nVue.filter('int', function(value) {\r\n  return parseInt(value);\r\n})\r\n\r\nvar router = new VueRouter()\r\n\r\nrouter.map({\r\n  '/report': {\r\n\t\tcomponent: require('./components/report.vue')\r\n\t},\r\n\t'/': {\r\n\t\tcomponent: require('./components/selection.vue')\r\n\t}\r\n})\r\n\r\n\r\nrouter.start(App, '#app')\r\n```\r\n\r\nand here is the index.html\r\n\r\n```html\r\n<div id=\"app\">\r\n\t<router-view></router-view>\r\n</div>\r\n```\r\n\r\nAnd when I turn on the debug mode\r\nthis additional warning appears\r\n\r\n```\r\nError: warning stack trace:\r\n    at warn (vue-router.js:729)\r\n    at Directive.bind (vue-router.js:1765)\r\n    at Directive._bind (vue.js:7607)\r\n    at linkAndCapture (vue.js:6321)\r\n    at compositeLinkFn (vue.js:6299)\r\n    at Vue._compile (vue.js:7885)\r\n    at Vue.$mount (vue.js:8822)\r\n    at Vue._init (vue.js:2355)\r\n    at Vue._init (vue-router.js:1705)\r\n    at new Vue (vue.js:8881)\r\n```\r\n\r\nHow can I get rid of it and make sure everything working fine.\r\n\r\nThanks in advance."}}