Request to backend php server [closed]

I am using vue.js + PHP to make a task manager. I am wondering how can I send a request from vue to backend PHP.My project structure The problem is how can I set route for my backend php server, to ...

Getters in vuex is being called before actions

I am using vuex and in my setup I call dispatch then the getter. When I refresh my page the getter always is called first and I am not sure how to change using async await so the getter only fires ...

Rendering Vue 3 component into HTML string

I am working on a vue.js project(version 3). I come to a situation where I want to use the rendered HTML view of a component to my current component's method. I created the following SVG component in ...

Event Listener not added [duplicate]

/src/pages/files.vue Why is my event listener not being added? document.getElementById("import-file")?.addEventListener("click", () => { console.log("Import File!"); ...

Iterating over a Proxy in Vue Composition API

I have a computed value emptyRowsRemoved derived from the Reactivity API. I need to iterate over this value. But because computed() returns a proxy, I am no longer able to iterate over it with a ....

Create new vue instance in Vue 3 use require js

I have vue instance which is vue 2. The code is below. It seems add axios to prototype then return new vue. (function () { define('newVueInstance', ['axios'], (axios) => { let newVueInstance =...

Vue: Check if emit is passed to component

I have a reusable Badge component. I want to be able to add a close/delete button when an onDelete emit is passed by the parent component but I can't find how to check of this. <template> &...

How do I use the bootstrap datepicker in vue3

Im using vue3, and bootstrap 5. I want to add a datepicker to my app. The datepicker was in bootstrap4, but it appears to me that bootstrap5 doesn't have it. I'm suprised that its not there, I don't ...

Vue3 i18n lazy loading not loading text

I have installed i18n in vue 3 https://vue-i18n.intlify.dev/introduction.html and I want to load the json files lazy. In the app.js const i18n = createI18n({ legacy: false, globalInjection: true,...