Category : vuejs2

I created this function, that returns me an object with mapped values. I have a problem, the second map is undefined at the first time, so in my vue.js component, I see the first map’ data but not the cutOff. if I refresh the page I see the cutoff… I don’t understand the reason, I ..

Read more

In my project there is a <router-link> that directs to a specific page it looks like this <router-link to="menugirl" >Plan your visit</router-link> When you click on the button, this link will be directed to http://localhost:8080/menugirl/category The category path that is added at the end of the URL is set by default And so what is ..

Read more

I have user data in this formate in local storage which I am storing at the time of login. {id: 17, name: "Boss original", email: "[email protected]", email_verified_at: null, fcm_token: "c_jxurpcQY6Qdeh0b9ZQIV:APA91bH4BKd-dIkN5N7jtv52ZH5…zUzd35AGdNIPmn1uUSMcU_oKgnO2eAM8xybXM7MJzanzFvmZH", …} admin: 1 allowed_login: 1 api_token: null created_at: "2021-04-07T09:08:32.000000Z" customer_id: null is_driver: 0 location_access: 0 name: "Boss original" notification: 1 online: 0 phone_number: "12345678912" photo: ..

Read more

I have FormField, Form and App. App contains Form and Form contains FormField and a button. When a button is clicked I need to check that the <input> inside Form are not empty. How do I do that? https://codesandbox.io/s/dark-tdd-wd2nb?file=/src/components/Form.vue FormField.vue <template> <input :placeholder= "placeholder" /> </template> <script> export default { props: [‘placeholder’] } </script> Form.vue ..

Read more