How to access Inertia Object In Server Side Rendering #1115
Answered
by
ibrunotome
hlaporthein
asked this question in
Help
-
I am adding SSR into my laravel Vue 3 project. I have faced many issues on console when I changed SSR. I am trying to solve myself. But, some are missing and need to ask :(
|
Beta Was this translation helpful? Give feedback.
Answered by
ibrunotome
Mar 1, 2022
Replies: 1 comment
-
I use it normally with or without SSR: <script lang="ts" setup>
import { usePage } from '@inertiajs/inertia-vue3'
console.log(usePage().url);
</script> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hlaporthein
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use it normally with or without SSR: