vuejs component is import code example
Example: vuejs import component
<template>
<your-component></your-component>
</template>
<script>
import YourComponent from '../components/YourComponent.vue'
export default {
components: {
YourComponent // <=> YourComponent: 'YourComponent'
}
};
</script>
<!-- OR -->
<script>
export default {
components: {
YourComponent: () => import('your/component/path')
}
}
</script>