Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [inertiajs]

Inertia.js allows developers to write single-page applications (SPAs) using classic server-side routing and controllers. Inertia tightly couples the backend to the frontend so that developers need not write APIs. Developers can use battle-tested server-side frameworks (e.g., Laravel, Ruby on Rails, Django, AspNetCore). On the client, developers can use React, Svelte, or Vue to implement the user interface.

inertiajs
-3 votes
0 answers
27 views

How to set opengraph meta tags in laravel

I tried to set opengraph meta tags in my laravel inertiajs web app. When I shared the url to whatsapp, the cover image did not show up.. I already set some opengraph meta tags in inertia Head ...
sdn bedali01's user avatar
-2 votes
0 answers
16 views

Laravel with Inertia.js and Vue 3 performance issue when disabling hardware acceleration

hello I have a problem with Laravel Inertia with Vue 3 the problem is that I'm having high CPU usage when launching the Laravel server although I don't have much content on the website yet I have only ...
MaherRemitaDZ's user avatar
1 vote
0 answers
21 views

Laravel 11 / Vue - 404 not found when force deleting a soft deleted model via route model binding and utilising destroy()

When I am trying to forceDelete() a soft deleted model through route model binding I am getting 404 not found. This only happens when force deleting a model and not when restoring or soft deleting. I ...
GazSte's user avatar
  • 36
0 votes
0 answers
9 views

Inertiajs +vitejs error using { eager: true } in import.meta.glob

I am biginner in inertiajs ecosystem. Therefore, I punctually follow the documentation of the technologies in question. In inertiajs documentation they say: "By default we recommend eager loading ...
pichurr0's user avatar
0 votes
1 answer
29 views

Fetch data and dynamically show it in the same component?

I give Inertia a try right now and maybe my understanding is not correct or I miss something. I have a Detail component like this. This one has an input text for an api key and a button. Below that I ...
Torben's user avatar
  • 5,454
0 votes
0 answers
21 views

Two inertia js vue builds with laravel and modules (Module with SSR build)

We have our main project which had no modules within. It is a crm which does not use SSR but is just a inertia vue js project that gets built for production and used accordingly. A recent requirement ...
Jack Kitley's user avatar
0 votes
1 answer
23 views

Laravel Inertia Templating Issue

I've worked with Laravel and Angular before in a headless fashion where I was just building API endpoints with Laravel and consuming those with an Angular front-end but it was a few years ago. I've ...
angler's user avatar
  • 99
1 vote
1 answer
22 views

how to pass data using usePage from child component to parent component in laravel inertia.js

I've been trying to pass the existing data from child component to parent component, but none of the data showed up. The data already showing up if I directly accessing child route here is my code ...
Rainaldy's user avatar
0 votes
0 answers
29 views

Is there a way to prevent the output of http headers from appearing in the content of a csv file?

I'm currently working in a Laravel Project with a Laravel Jetstream scaffolding with Inertia js and Vue 3. Everything is working as expected but now I need to make a downloadable CSV file. At first I ...
Dovahkiin's user avatar
0 votes
0 answers
17 views

I cant update and image with put method on Laravel inertiajs

I have three files here: Edit.vue, FormComponent, and a resource method that allows only PUT and PATCH. When I submit without an image, the update method works, but when I attach an image in the form, ...
Mostafizur Rahman's user avatar
-1 votes
0 answers
14 views

Laravel + Inertia application not loading Vite files on iPad

I am working on a Laravel + Inertia project and it's powered by Vite (as per the modern ecosystem). Now, I want to load my website on other devices connected on my home network (my phone, iPad, etc.) ...
coderboy's user avatar
  • 1,796
0 votes
1 answer
27 views

Policy deny after login does not work with Inertia - laravel

I have a problem with my laravel + inertia application. Let's say I have this route: Route::get('/tasks/{task}/apply/', [ApplicationController::class, 'create']) ->middleware('auth') ...
noah1400's user avatar
  • 1,495
0 votes
0 answers
29 views

Defining a global <Link> component in svelte in Inertia.js as in vue.js

import { createApp, h } from 'vue'; import {createInertiaApp, Link} from '@inertiajs/inertia-vue3'; import { InertiaProgress } from '@inertiajs/progress' createInertiaApp({ resolve: name => { ...
burkeycity's user avatar
0 votes
0 answers
40 views

Laravel CreateNewUser script not committing certain fields fields to the database

I've logged throughout my web application and determined by form being submitted passes validation here: Validator::make($input, [ 'first_name' => ['required', 'alpha', 'max:255'], ...
Anthony's user avatar
  • 21
-1 votes
0 answers
55 views

accessing a static image inside public folder of laravel using vue and inertia

I have an image named pic.svg inside laravel/public/pic.svg I wanna use it inside vue component, i didnt save its path inside database, it's a static image I wanna use it as a backface in flip cards ...
Ramin Safari's user avatar

15 30 50 per page
1
2 3 4 5
82