skip to Main Content

Firebase – How to call v-for variable to function

I am using vue3 and c_cid is important for me to implement the function. here is what I have. <div class="client_card" type="button" v-for="c in all_clients" data-bs-toggle="modal" data-bs-target="#add_delievery_address" > <div class="modal-footer" style="background-color: #1267aa"> <button @click="createDelieveryAddress(`{{ c.c_cid }}`)"> Submit Delivery Address </button>…

VIEW QUESTION

Vue 3 not rendering components (in Laravel 8)

I have a simple blade with a component inside: <section> <h1>Carousel</h1> <carousel :slides="@json($data->slides)"> </carousel> The component looks like this: <template> <fragment> <h1>My component</h1> {{ slides }} </fragment> </template> export default { props: [ 'slides' ], mounted() { console.log("mounted") } }…

VIEW QUESTION

how to add Vue props value to background-image – CSS

I'm new in VueJS and I get confused to change background image from Vue props value. I've created simple table from 'vue3-easy-data-table'. BaseTable.vue: <template> <EasyDataTable> ... </EasyDataTable> </template> <script setup lang="ts"> changeImg: { type: String, } }) </script> <style> .vue3-easy-data-table__message…

VIEW QUESTION
Back To Top
Search