Crude CalendarBild
This commit is contained in:
parent
2c584cff8b
commit
858062b9ee
2 changed files with 18 additions and 4 deletions
|
@ -1,15 +1,19 @@
|
||||||
<template>
|
<template>
|
||||||
<img alt="Vue logo" src="./assets/logo.png">
|
<img alt="Vue logo" src="./assets/logo.png" />
|
||||||
<HelloWorld msg="Welcome to Your Vue.js + TypeScript App"/>
|
<HelloWorld msg="Welcome to Your Vue.js + TypeScript App" />
|
||||||
|
<CalendarBild />
|
||||||
|
<CalendarBild />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { Options, Vue } from 'vue-class-component';
|
import { Options, Vue } from "vue-class-component";
|
||||||
import HelloWorld from './components/HelloWorld.vue';
|
import HelloWorld from "./components/HelloWorld.vue";
|
||||||
|
import CalendarBild from "./components/CalendarBild.vue";
|
||||||
|
|
||||||
@Options({
|
@Options({
|
||||||
components: {
|
components: {
|
||||||
HelloWorld,
|
HelloWorld,
|
||||||
|
CalendarBild,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
export default class App extends Vue {}
|
export default class App extends Vue {}
|
||||||
|
|
10
ui/src/components/CalendarBild.vue
Normal file
10
ui/src/components/CalendarBild.vue
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<template>
|
||||||
|
<img src="http://localhost:8000/api/days/picture/1" />
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
Loading…
Reference in a new issue