vue_activity: add a Location sub-component, teleported in form

This commit is contained in:
Mathieu Jaumotte 2021-10-13 09:56:29 +02:00
parent 7c21818f00
commit 49b1b6f413
4 changed files with 21 additions and 3 deletions

View File

@ -1,17 +1,20 @@
<template>
<concerned-groups></concerned-groups>
<social-issues-acc></social-issues-acc>
<location></location>
</template>
<script>
import ConcernedGroups from './components/ConcernedGroups.vue';
import SocialIssuesAcc from './components/SocialIssuesAcc.vue';
import Location from './components/Location.vue';
export default {
name: "App",
components: {
ConcernedGroups,
SocialIssuesAcc
SocialIssuesAcc,
Location
}
}
</script>

View File

@ -0,0 +1,15 @@
<template>
<teleport to="#location">
Location in vue
</teleport>
</template>
<script>
export default {
name: "Location"
}
</script>
<style scoped>
</style>

View File

@ -54,7 +54,7 @@
{{ form_row(edit_form.date) }}
{% endif %}
{# TODO .. location #}
<div id="location"></div>
{%- if edit_form.durationTime is defined -%}
{{ form_row(edit_form.durationTime) }}

View File

@ -55,7 +55,7 @@
{{ form_row(form.date) }}
{% endif %}
{# TODO .. location #}
<div id="location"></div>
{%- if form.durationTime is defined -%}
{{ form_row(form.durationTime) }}