[Vuejs]-Adding custom component dynamically

0👍

Try change next line, which tries to find default export from that file

import Component from "./Component.vue";

to this, which exports specific class from file

import {Component} from "./Component.vue";

Or add line below Component.vue file, to set default export

export default Component;

Leave a comment