vue component id code example
Example: vue component template by id
<script type="text/x-template" id="hello-world-template">
<p>Hello hello hello</p>
</script>
Vue.component('hello-world', {
template: '#hello-world-template'
})
https://vuejs.org/v2/guide/components-edge-cases.html#X-Templates