288 questions with no answers
0
votes
0
answers
31
views
How to correctly set up Pinia with Inertia.js SSR in AdonisJS 6? Getting "getActivePinia() was called but there was no active Pinia"
I am building an application using AdonisJS 6, Vue 3, and Inertia.js. I'm trying to integrate Pinia for state management, but I'm running into an error:
I read online and see other issues here, but I ...
0
votes
0
answers
107
views
I got syntax error on installing typescript with laravel-data package
Reading https://spatie.be/docs/laravel-data/v4/advanced-usage/typescript docs
I try to add laravel data package on laravel/vue/element-plus site and adding app/Data/TaskAdminData.php class with code :
...
0
votes
0
answers
32
views
Laravel + Imagick: Thumbnails return 0×0 images in browser despite valid 200 response
I’m building a Laravel + React (Inertia.js) application where users can upload files (PDFs, images, etc.).
For each file, I generate a thumbnail so I can display it in a gallery card (CardFile.jsx).
...
0
votes
0
answers
68
views
Translations re-render on page load
My translations on InertiaJS/React with i18next rerender when page fully loads, which ruins both SEO and animations. when page is initializing, first it loads the en language (even when I change the ...
0
votes
0
answers
30
views
ReferenceError: route is not defined when testing component
I'm trying to test a simple Inertia.js + React component using Vitest and React Testing Library. The component uses useForm() from @inertiajs/react and the route() helper function from Ziggy (Laravel)....
0
votes
0
answers
48
views
Inerta returning 302 followed by a 302 without errors
I'm using Laravel 11 with Inertia and VueJS 3. I installed Breeze on the project and tested authentication. Everything was working fine until I tested whether the invalid credentials error was ...
0
votes
0
answers
86
views
External JavaScript isn't loading on my vue3 layout
I am trying to move WordPress webpage to Laravel 12.x. I am using for that vue3 + inertia starting kit. But since I have very little experience with vue, and completely non in inertia, I bumped at ...
1
vote
0
answers
87
views
Laravel InertiaJS SSR returns the app.blade.php without content from server
I enabled the SSR in InertiaJS and am now facing an issue on when the SSR returns app.blade.php without .tsx file content and then renders it the client side on. It causes the "Hydration failed ...
0
votes
0
answers
46
views
'./dist/bootstrap-vue-next.mjs?' does not provide an export named 'BootstrapVueNext'
In my laravel application after i installing npm install bootstrap bootstrap-vue-next
and updating the vite.config.js :
import { BootstrapVueNext } from 'bootstrap-vue-next';
import 'bootstrap/dist/...
0
votes
0
answers
38
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 ...
1
vote
0
answers
351
views
How to sort React MUI Datatable/ Datagrid based on checked rows?
The List component below has an importedUsers variable stored in an Inertia useRemember hook. Once the importedUser hook is triggered, the page reloads and the DataTable then selects/ checks the ...
0
votes
0
answers
91
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
18
views
InertiaJS Global Param
I have a project that uses Laravel + Vue3 + Inertia, and I need to add a new parameter to all URLs before making requests. Previously, the URL was domain.com/admin/users, but now it should be domain....
0
votes
0
answers
60
views
Persistent Layouts in Inertiajs
I am trying to use Persistent Layouts in InertiaJS and Laravel with Vue3. But I get a compilation error by Vite:
[vite] Internal server error: Codegen node is missing for
element/if/for node. Apply ...
1
vote
0
answers
108
views
How to load a vuejs build into another vuejs?
I made a SPA with laravel + vuejs3 (inertia).
My SPA works without worries, but I made a module that is on several sites (WP) which is a js file that loads on a tag with the id="form".
It ...
1
vote
0
answers
160
views
How to use ngrok with Laravel Breeze (Inertia + Vue.js) when using two different ports?
I am working on a Laravel(v9) Breeze project using Inertia.js and Vue.js. My project runs on two different ports:
Laravel backend (php artisan serve) → http://localhost:8000
Vue.js frontend (npm run ...
1
vote
0
answers
186
views
Node.js/Vite SSR: ERR_UNSUPPORTED_DIR_IMPORT with @mui/material/utils during Inertia.js SSR
I'm encountering an ERR_UNSUPPORTED_DIR_IMPORT error during server-side rendering (SSR) with Vite, React, MUI (Material UI), and Inertia.js. The specific error message is:
Error [...
0
votes
0
answers
511
views
currentRenderingInstance.ce is null when rendering Vue compoments with Inertia in production
I'm using Laravel 11 and Inertia.js with Vue to build a multi page web application. I use Coolify with nixpacks to deploy my application on a server.
When making a request, the server always returns a ...
0
votes
0
answers
47
views
How to deploy Laravel (with react) app on heroku without any error (like 419 error)
I just create laravel app with staterkit (breeze) and i am using (react) inertiajs for frontend. I pushed the code to Heroku, it's showing error 419 while register and login. I haven't even started ...
2
votes
0
answers
233
views
Is it necessary to include Ziggy with the HandleInertiaRequests?
I'm new to SSR with InertiaJs. I installed Breeze scaffolding with Inertia supporting SSR.
I found below lines in HandleInertiaRequests.php
'ziggy' => fn() => [
...(new Ziggy)->toArray(),
...
0
votes
0
answers
69
views
Getting update and delete working in Laravel 11 Inertia and Vue
I can't get the update and delete functionality working. The create functionality works.
web.php:
Route::post('/income', [IncomeController::class, 'create']);
Route::put('/income/{id}', [...
2
votes
0
answers
172
views
FOUC With inertiajs (SSR), Vite and SCSS
I am building an application using Laravel, inertiajs (SSR), Vite, Vue 3, and SCSS
I have pages and component and each page/component has its own style file and it is imported inside of this page/...
0
votes
0
answers
55
views
vue-router history mode flexible for non-ssr and ssr mode
I am first time developing a laravel - Inertia - Vue App and am doing y first steps with SSR.
At the moment during setup of the router I create a WebHistory which obviously isn't suited for SSR ...
0
votes
0
answers
507
views
Laravel React integrate Stripe payment gateway simple example pricing cards
I am integrating Stripe payment gateway in React Laravel Inertia please provide me a simple example to integrate Stripe payment I have pricing cards and a Chose plan button I want when I click on the ...
0
votes
0
answers
466
views
How to enable Inertia SSR on production?
I'm using Laravel Inertia with Vue.3 to build an SSR app.
My app is working well but the SSR is not working at all. When I disable javascript on my browser, I get a blank page.
I deployed my app on a ...