We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@inertiajs/vue3
When I use the code snippet from the documentation (see below), I encounter a ReferenceError: document is not defined when working with SSR.
ReferenceError: document is not defined
import { router } from '@inertiajs/vue3' router.on('start', (event) => { console.log(`Starting a visit to ${event.detail.visit.url}`) })
The text was updated successfully, but these errors were encountered:
This should've been fixed in #1715, but I see with 2.x these changes have been reverted due to refactors, I'll look at sending in another PR
Sorry, something went wrong.
No branches or pull requests
Version:
@inertiajs/vue3
version: ^2.0.0Describe the problem:
When I use the code snippet from the documentation (see below), I encounter a
ReferenceError: document is not defined
when working with SSR.Steps to reproduce:
The text was updated successfully, but these errors were encountered: