Skip to main content

All Questions

Tagged with
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'...
The Lokrit's user avatar
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', [...
Michael Njuguna's user avatar
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&...
mstdmstd's user avatar
  • 3,233
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(["...
Rasuli Naurizbaev's user avatar
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 ...
Mateo's user avatar
  • 33
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, ...
Dave33's user avatar
  • 479
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/...
Theodore's user avatar
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 ...
Rama Bhattarai's user avatar
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 ...
guguga's user avatar
  • 41
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 }} ...
paul kendal23's user avatar
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({...
paul kendal23's user avatar
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=&...
paul kendal23's user avatar
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 ...
Hasan AH's user avatar
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. ...
monkeytrick's user avatar
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 ...
YsohTrish's user avatar

15 30 50 per page
1
2 3 4 5
517
X