is dividing module in to smaller comlonents is a good practice vue js code example
Example: Lazy loading and code splitting in Vue.js
<template>
<div>
<lazy-component />
</div>
</template>
<script>
const lazyComponent = () => import('Component.vue')
export default {
components: { lazyComponent }
}
// Another syntax
export default {
components: {
lazyComponent: () => import('Component.vue')
}
}
</script>