{"action":"closed","issue":{"url":"https://api.github.com/repos/vuejs/vue/issues/5360","repository_url":"https://api.github.com/repos/vuejs/vue","labels_url":"https://api.github.com/repos/vuejs/vue/issues/5360/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue/issues/5360/comments","events_url":"https://api.github.com/repos/vuejs/vue/issues/5360/events","html_url":"https://github.com/vuejs/vue/issues/5360","id":218737399,"number":5360,"title":"Directive to skip binding/parsing certain parts","user":{"login":"viettranme","id":2089024,"avatar_url":"https://avatars1.githubusercontent.com/u/2089024?v=3","gravatar_id":"","url":"https://api.github.com/users/viettranme","html_url":"https://github.com/viettranme","followers_url":"https://api.github.com/users/viettranme/followers","following_url":"https://api.github.com/users/viettranme/following{/other_user}","gists_url":"https://api.github.com/users/viettranme/gists{/gist_id}","starred_url":"https://api.github.com/users/viettranme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viettranme/subscriptions","organizations_url":"https://api.github.com/users/viettranme/orgs","repos_url":"https://api.github.com/users/viettranme/repos","events_url":"https://api.github.com/users/viettranme/events{/privacy}","received_events_url":"https://api.github.com/users/viettranme/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-02T02:45:37Z","updated_at":"2017-04-02T03:05:10Z","closed_at":"2017-04-02T03:05:10Z","body":"### What problem does this feature solve?\r\nMy sample app structure look like \r\n\r\n    <div id=\"app\">\r\n        <div class=\"upper\">\r\n            <span v-text=\"message\"/>\r\n        </div>\r\n        \r\n        <div class=\"middle\">\r\n            <div class=\"ajax-module\" data-src=\"<ajax-url>\">Loading...</div>\r\n        </div>\r\n        \r\n        <div class=\"lower\">\r\n            <span v-text=\"message\"/>\r\n        </div>\r\n    </div>\r\n\r\n    <script type=\"text/javascript\">\r\n        var app = new Vue({\r\n          el: '#app',\r\n          data: {\r\n            message: 'Hello Vue!'\r\n          }\r\n        })\r\n    </script>\r\n\r\nThe issue is that Vue throws an error as the asyn content loaded from 'ajax-url' contains 'script' tag. Is there any way to let Vue skip parsing/binding the '.middle' part? \r\n\r\n### What does the proposed API look like?\r\nSupport a special directive like 'v-skip'\r\n\r\n    <div class=\"middle\" v-skip></div>\r\n\r\n<!-- generated by vue-issues. DO NOT REMOVE -->"}}
{"actor":{"display_login":"yyx990803"}}