kollagen/src/App.vue
2020-07-15 22:00:19 +02:00

37 lines
662 B
Vue

<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>