Add component's lazy loading

This commit is contained in:
2020-12-08 12:40:16 +01:00
parent 73b7786d1a
commit 2a1cf5ae8f
7 changed files with 31 additions and 36 deletions

View File

@@ -15,13 +15,12 @@
<script>
import { mapState } from "vuex";
import GridItemSkeleton from "./GridItemSkeleton";
import GridItem from "./GridItem";
export default {
name: "Grid",
components: {
GridItemSkeleton,
GridItem
GridItem: () => import("./GridItem")
},
props: {
data: Array