All Questions
235 questions
0
votes
2
answers
52
views
Submit a form with table rows with Vue and Inertia
Using Vue.jsm inertiaJS and Laravel.
I have a VueJS Js page on which i have a form with a table which has multiple rows. I fill each input field on those rows with data coming from the backend.
So, ...
1
vote
1
answer
91
views
Laravel how to implement Vue on a single blade page
I want to implement Vues on a single page of my Laravel application. I was able to do it via CDN but need to do it via npm
This is my blade page:
<div class="app">
@{{state }}
...
0
votes
3
answers
66
views
Vue JS Unable to get values of data attributes
I am using Vue 3 . I am unable to get dataset values from my button:
this is the button:
<script src="https://unpkg.com/[email protected]/dist/vue.global.js"></script>
<button id=&...
1
vote
0
answers
41
views
Vue to Laravel page redirect is not working in Vite.js
I am using laravel 11 with vue3,
When I am trying to redirect from Vue page to a Blade page then it's not working,
I mentioned /profile route in web.php like this:
Route::get('/profile', [...
0
votes
1
answer
213
views
Laravel Inertia / download file returns a redirection instead
I have the following route:
Route::post('report', Controllers\ReportController::class)->name('report');
And the controller loads a file and returns it
$path = '/some/path/to/report.xls';
return ...
0
votes
1
answer
65
views
MetisMenuJS sidebar not working properly (laravel+vujs) project
I've purchases a theme from themeforest (https://themesbrand.com/minible/layouts/index.html). They use metisMenujs which work fine in HTML & bootstrap. But I am convert this to my vuejs ...
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
36
views
How to make Vue only change browser link but not refresh all browser
I used to run Vue "inside" Laravel project by writing .js, .vue files in resources/js folder of a Laravel project.
When I run website, browser (Chrome) did not refresh when clicking any link....
0
votes
1
answer
39
views
Vue3 Typescript Sum all values of a column in an array
I'm still very new to this programming language and I'm trying to take an array column and sum its values so I can show a total amount on the webpage.
Question #1
I was attempting to use a computed ...
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 ...
-1
votes
1
answer
111
views
Vuejs guard router failed with infinite loop
Hellop, I have a vue3 app consume laravel 11 api,
I want to develop a router guard to redirect unauthenticated users to the login page. When the Laravel server is not running, the code works and ...
0
votes
0
answers
72
views
Laravel Sanctum 'Token miss match'
I'm working on a Laravel 11 project where I'm using Laravel Sanctum for authentication in my SPA (Vuejs3). My setup includes a backend and a frontend hosted on different subdomains, and I'm running ...
0
votes
0
answers
34
views
How to upload multiple images from laravel api to vuejs
I want to upload multiple image using vuejs but in inspect it show in the picture :
{image.0: Array(1)}
image.0
:
['The image.0 field is required.']
[[Prototype]]
:
Object
this is my code:
const ...
0
votes
1
answer
101
views
How to load js in laravel vuejs 3
I'm new to Laravel and VueJS, and I want to include JavaScript files in my project. Can someone please tell me how to do that? I watched a video on YouTube and got a solution, but sometimes it's not ...
0
votes
0
answers
59
views
Vue.js Dynamic Slots Not Rendering Content as Expected
I'm working on integrating Vue.js with Laravel to create a multilingual content management system, and I'm facing an issue with dynamic slots not rendering any content. Despite setting up everything ...