All Questions
668 questions
0
votes
1
answer
59
views
cors allow origin not matching origin
I have Single Page Application with vuejs framework and I want to an excel file from server but I get "cors allow origin not matching origin". in postman I have no problem and I can download ...
0
votes
0
answers
24
views
Random Network Error in Axiom+vue+laravel
So, I have a Laravel + Vue 3 app, that uses Axiom to send requests to get data from external API service. Sometimes i get complains from clients, that they get an error, and most of the time it's &...
0
votes
0
answers
54
views
Object value is changed during the request to the backend
I hope you can help me, because I couldn't find a solution to my problem. I work with Vue.js in the frontend and Laravel in the backend. When sending a POST request, the following problem occurs:
...
2
votes
0
answers
58
views
Problem to send my formData instance via axios with content-type multipart/form -data
I'm working on vue3 and I want to send my form data which may contain a file image to my API via axios request but I still have a problem. If I inspect the formData instance, all values are present ...
0
votes
1
answer
79
views
How to show data in Vue JS without click paging
I have an issue when I want to show data in VueJS. Previously I have successfully displayed "User Online" data, but the problem is why do I have to click on the page if I want to display the ...
0
votes
0
answers
52
views
Laravel Vue axios endpoint fetches data and diplays in console log BUT not in Vue template
I have a laravel 8 project which is recently upgraded from version 7. I have updated webpack and package.json etc..
Here is a barebone structure of my Vue template which is supposed to display ...
1
vote
1
answer
94
views
Laravel Vue js logout got error Uncaught runtime errors:
working with Laravel and Vue js 2 project as well
I have implemented user Authentication system using Laravel and Vue js 2 and laravel passport. my backend using postman is working fine logout as well....
0
votes
0
answers
61
views
Load data from a function in a controller with API | SPA Laravel 8
I' am developing a project in Laravel with Vue. I want to implement a filter in a form that allows users to select an item from a table.
The Proyect
I want to put all the values from the ‘filtro’ ...
0
votes
0
answers
42
views
Why is there such a big difference between request time and query time with a axios ajax request to laravel?
I just wonder. I'm looking at my laravel site with lighthouse ans is see a First contentfull paint of 7 seconds and i'm wondering why, my javascript is not more the 500K (app.js 300K) total, is that a ...
0
votes
1
answer
66
views
Empty object passing in axios - Vue js
I am sending an object from this.productDetails as part of an axios.post() request. Upon inspecting the payload in the browser's network tab, I observe that the object is devoid of any data.
Here's ...
0
votes
1
answer
144
views
Getting error while loading data in vue 3 component plugin?
I have a vue 3 component in Laravel 10 in which i'm applying vue3-carousel.
Component Infor:
I'm creating a dynamic team members carousal where i can show team of a company with dynamic bar of team ...
1
vote
0
answers
189
views
Request failed with status code 419 Laravel Vue js
This code is related to my login page. I'm using Laravel and Vue.js, and when I try to log in, I encounter 419 error.
<script setup>
import { ref } from 'vue';
import axios from 'axios'
...
0
votes
1
answer
72
views
Axios communicate with backend (LARAVEL) Api
So I have 2 separate projects, Vue3 (frontend) and Laravel (backend). I have this configuration in the VueJS:
axios.defaults.baseURL = 'http://backend.com/api/'
axios.defaults.headers['Authorization'] ...
1
vote
0
answers
192
views
Use laravel Sanctum with a Vue SPA running localy on different Ports
im learning to create a vue SPA with sanctum auth. i built a bit of my api and was testing with postman, adding the token for each protected post and get. That was working all fine. But now i have ...
0
votes
1
answer
55
views
AxiosError: Post request on Laravel app from Vue app
I need advice with Axios, and how to send a request from domain A to domain B.
Domain A: test.fkbraxy.sk (Only Vue 3)
Domain B: app.fkbraxy.sk (Only Laravel 10)
Domain A:
Route api (routes/api.php) :...