All Questions
7,748 questions
0
votes
0
answers
79
views
How do I create a production version of vue + laravel?
How can I create a production version of a Laravel application?
There is vite.config
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import vue from '@vitejs/plugin-vue'...
0
votes
2
answers
91
views
Inertiajs router makes requests to web.php, how do I change that so that it will make requests to api.php?
Inertiajs router makes requests to web.php by default, how do I change that so that it will make requests to api.php by default in a Vue app.
Route::post('/api/guardian-app/m/verify-phone', [...
1
vote
1
answer
51
views
Why in element-plus date-picker component on save lose 1 day?
In Laravel 12 / vuejs 33.5.13 / element-plus 2.9.5 app I use date-picker component
<el-dialog v-model="dialogVisible" title="Select Day">
<el-form :model="form&...
0
votes
2
answers
58
views
Method Illuminate\Auth\RequestGuard:: does not exist
The logout button doesn't work, it returns “Method Illuminate\Auth\RequestGuard::logout does not exist.” I checked everything seems to be correct, but it doesn't work.
route:
Route::middleware(["...
0
votes
1
answer
58
views
.ddev, laravel, inertia Uncaught TypeError: Failed to resolve module specifier "vue". Relative references must start with either "/", "./", or "../"
I'm working in a Laravel, Vue.js, Inertia.js application. I'm running my app through .ddev during my work when I try to build my assets for production this error:
Uncaught TypeError: Failed to ...
0
votes
2
answers
50
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, ...
0
votes
0
answers
36
views
Vue Component Audio not Playing on iPhones or Safari Browser
I have this vue template embedded in my html form
<template>
<audio style= "display: none" id="player" controls>
<source src="/audio/...
0
votes
0
answers
27
views
Issues with Vue.js Changes Not Reflecting in the Acculance POS System
I have recently downloaded the Acculance POS system project of Laravel and Vuejs and have been making modifications to the Vue.js code. However, despite the changes, I am unable to see any updates ...
3
votes
3
answers
177
views
Why is my frontend not receiving the event from the backend?
I am new to working with Laravel, and websockets in general. I checked out the Laravel documentation regarding real time events and don't understand why the problem below occurs.
I have a database ...
1
vote
1
answer
88
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
0
answers
54
views
Laravel Vue Echo -Uncaught ReferenceError: Echo is not defined
I am using vue js with laravel blade.
my vue mount is not picking up the Echo. Is its on the page though because Javascript script tags are able to pick them up.
This is my vue object:
Vue.createApp({...
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=&...
0
votes
1
answer
52
views
Failed to programmatically redirect external link in new tab using Vue.js
I am trying to do programmatically redirect external link open in a new tab after axios successful response but it blocked by browser the message is popup blocked. I tried it in different way and ...
0
votes
0
answers
46
views
Laravel Vue/Inertia 403 server error with Inertia.get()
I am tearing out my hair with this one. Using Inertia with Vue in Laravel and whenever the Inertia.get() is used, a 409 server error is returned before refreshing/redirecting to the desired the page. ...
0
votes
0
answers
49
views
Laravel API + vue SPA : Cors probleme in subdomain multitenancy application
I’m developing a multi-tenancy application using Laravel 11 as a REST API and a SPA built with Vue.js 3 (+Pinia +Vue Router).
I’m using Sanctum for authentication and TenancyForLaravel for the tenancy ...