⚗ Lazy component import

This commit is contained in:
Liyas Thomas
2019-11-16 00:25:05 +05:30
parent 23a681f214
commit 69971198af
13 changed files with 29 additions and 67 deletions

View File

@@ -35,8 +35,6 @@
</template>
<script>
import modal from "../../components/modal";
export default {
props: {
show: Boolean,
@@ -44,7 +42,7 @@ export default {
collectionIndex: Number
},
components: {
modal
modal: () => import("../../components/modal")
},
data() {
return {