mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
prepare vue Location component
This commit is contained in:
@@ -1,15 +1,37 @@
|
||||
<template>
|
||||
<teleport to="#location">
|
||||
Location in vue
|
||||
<div class="mb-3 row">
|
||||
<label class="col-form-label col-sm-4">
|
||||
Localisation
|
||||
</label>
|
||||
<div class="col-sm-8">
|
||||
<!--
|
||||
<VueMultiselect
|
||||
name="chooseLocation"
|
||||
placeholder="Choisissez une localisation">
|
||||
</VueMultiselect>
|
||||
-->
|
||||
<new-location></new-location>
|
||||
</div>
|
||||
</div>
|
||||
</teleport>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {mapState} from "vuex";
|
||||
import VueMultiselect from 'vue-multiselect';
|
||||
import NewLocation from './Location/NewLocation.vue';
|
||||
|
||||
export default {
|
||||
name: "Location"
|
||||
name: "Location",
|
||||
components: {
|
||||
NewLocation,
|
||||
VueMultiselect
|
||||
},
|
||||
computed: {
|
||||
...mapState(['activity']),
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user