[Vuejs]-How do I change id for Single File Components in vue

0👍

The id is only set when you make the component globaly available in the parent by using the Vue.component('id', {...}) command. The name is an optional part of a component.
The given solution in the issue with Vue.component('id', Vue.extend({...})) seems to be worth a try.

Leave a comment