$('#check').html('&lt;') - <
$('#check').html('<') - <
'&;lt'를 그대로 쓸 수 있도록
Registering a Component
Vue.js allows you to treat registered ViewModel constructors as reusable components that are conceptually similar to Web Components, without requiring any polyfills. To register a component, first create a subclass constructor of Vue using Vue.extend(), then use the global Vue.component() method to register that constructor:
// Extend Vue to get a reusable constructor
var MyComponent = Vue.extend({
template: 'A custom component!'
})
// Register the constructor with id: my-component
Vue.component('my-component', MyComponent)