vue declare component code example Example: VUE DECLARE COMPONENT IN MAIN.JS Vue.component('MyComponentName', { /* ... */ })