Skip to main content
1 vote
0 answers
80 views

npx shadcn-ui add calendar fails with React 19 due to [email protected] peer dependency conflict

Describe the bug Describe the bug npx shadcn@latest add calendar fails due to React 19 compatibility issues with [email protected] Error Log npx shadcn@latest add calendar ✔ Checking registry. ⠇ ...
Tharuka Dananjaya's user avatar
-1 votes
0 answers
34 views

styled.nav is not a function. I am activating ssr in my inertia laravel app using styled components, but I'm not sure what is going wrong [closed]

I have tried creating a server-style sheet with ServerStyleSheet in my ssr.tsx file. Vite config exists and is pointing to it, Babelrc is in my root as well, with the Babel plugin styled components ...
HBGhost's user avatar
0 votes
2 answers
90 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
69 views

How can I host laravel ReactJS app on shared hosting

I have built my Laravel+ReactJS project, JS is written in TypeScript(.tsx), and frontend is being rendered with Inertia. Now I have run npm run build and copied all files to the shared hosting file ...
Ezenwa Hopekell's user avatar
0 votes
2 answers
56 views

How to resolve CSFR-TOKEN mismatch in Inertia.js?

CSRF-TOKEN Mismatch: For a virtual host like app.local, when I submit a form using Inertia.js useForm().post(), it shows a 419 error in the app. Steps to Reproduce: I have just installed a new Laravel ...
Himel shipu's user avatar
0 votes
0 answers
12 views

(WSL UBUNTU) Laravel inertia react vite not loading in dev server

I just freshly installed laravel with inertia vite. set local server in apache2 as domain test.portfolio.com. so there is the catch vite dev is running and with all networking setup test.portfolio.com ...
Kirito Kazuto's user avatar
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
1 answer
66 views

Submit Form as array with Inertia in React

Please I am developing an application with React JS, Inertia and Laravel that require users to submit their academic qualifications. I want the user to be able to add additional form row for more ...
user17727484's user avatar
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
1 answer
83 views

Preventing Access to Login Page After Authentication in Laravel + Inertia + React (ShadCN + Breeze)

I followed ShadCN's official documentation to set up a React starter kit with Laravel Breeze. Authentication works correctly, but I encountered an issue where users could navigate back to the login ...
Lawrence Agulto's user avatar
0 votes
1 answer
53 views

shared user in adonis inertia config is not coming into vue props

Out of the box, the adonis inertia.js config file had this section of code: sharedData: { user: (ctx) => ctx.inertia.always(() => ctx.auth.user), }, But in my vue components, when I add ...
RyanJMP's user avatar
  • 13
0 votes
1 answer
126 views

Is there a way to get a reactive table in Laravel 12 using Vue + Inertia + useVueTable keeping preserveState on true?

I'm trying Laravel 12 with the new starter kit Vue and the shadcn-vue components. Here is my problem: I need a reactive datatable using Inertia. To achieve that reactivity I have to disable ...
Dovahkiin's user avatar
0 votes
0 answers
37 views

Inertia Js , React Problem To Handle Laravel Returned Errors

ok, I've been using inertiaJs for a little over 1 year, only it's as if inertia can no longer receive data from the backend. for example, here's the simple authentification form I send: const ...
ALEXSAN DEV's user avatar
-1 votes
1 answer
51 views

How to trigger a function code once when loading or refreshing page in vue js and inertia js

I am working on a project using vue JS and inertia JS, basically I wanna trigger this code ONCE when the page loads or reloads. router.visit('/getrequest',{ method:'get' }) but its triggering ...
Edson's user avatar
  • 176

15 30 50 per page
1
2 3 4 5
87