vuejs if directly using system component is it necessary code example
Example 1: registeing components in vue
import Sidebar from '../../components/sidebar/main.vue';
export default {
props: [""],
components: {
'sidebar': Sidebar
},
...
Example 2: import vue
import Vue from 'vue'