prepare new originDemand sub-component

This commit is contained in:
2021-06-25 13:44:01 +02:00
parent 662e5f967c
commit 3e83891744
4 changed files with 73 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
<template>
<div class="vue-component">
<h2><a name="section-05"></a>{{ $t('origin.title') }}</h2>
hop
</div>
</template>
<script>
import { getOrigins } from '../api';
import { mapState } from 'vuex';
export default {
name: 'OriginDemand',
data() {
return {
options: []
}
},
computed: {
...mapState({
value: state => state.accompanyingCourse.origin,
}),
},
mounted() {
this.getOptions();
},
methods: {
getOptions() {
console.log('loading origins list');
}
}
}
</script>
<style lang="scss" scoped>
</style>