inertia
inertia copied to clipboard
Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.
How I can render on client? ### Version: - `@inertiajs/vue3` version: ^1.0.0 ### Describe the problem: ``` import require$$0 from "vue"; ^^^^^^^^^^ SyntaxError: The requested module 'vue' does not provide...
The transform is not working before the submit. So, put it into the submit dependencies for updates.
This PR adds TypeScript support to `@inertiajs/svelte` (would close #992) as well as some fixes for its `useForm` helper (same as #1610). This implementation is better than the one in...
When using `router.on()` it is always executed, this means the following won't work during SSR: ```html import { router } from '@inertiajs/vue3' router.on('start', (event) => { console.log(`Starting a visit to...
### Discussed in https://github.com/inertiajs/inertia/discussions/1628 Originally posted by **lpeterke** July 31, 2023 Imagine a "Home" page that displays a long list of items, which are loaded using `Inertia::lazy()`. The "Home" page...
Currently all Inertia GET requests have `Content-Type: application/json` header applied because empty object is passed as a payload. Axios sees an object and sets content type to application/json even though...
This PR allows mutating the page props with the usePage function. This is for these situations https://github.com/inertiajs/inertia/discussions/78 You have only to do `usePage().props.valueName = 'newValue'`
This works in tandem with https://github.com/inertiajs/inertia-laravel/pull/531. This is the client-side implementation of this feature. These deferred properties will only ever be loaded automatically after page loads/navigations. Otherwise, they behave just...
this PR inserts a history event. This event is executed every time before the page is loaded from window.history. The event can be stopped to prevent the component swap. I...