<template>
<div id="app">
    <picker @images="images = $event"/>
    <collage :images="images"/>
</div>
</template>

<script lang="ts">
import {Component, Vue} from "vue-property-decorator";
import Picker from "@/components/Picker.vue";
import Collage from "@/components/Collage.vue";

@Component({
    components: {
        Picker,
        Collage
    },
})
export default class App extends Vue {
    private images: ImageBitmap[] = [];
}
</script>

<style>
html, body {
    margin: 0 2em;
    padding: 0;
}

#app {
    font-family: monospace;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-height: 100vh;
}
</style>
