Closed amstrad closed 3 months ago
Does InertiaJs provide a way to render components only on the client-side?
Hi. Yes, thanks. Made it work adding it to the noExternal array in vite.config.js,
ssr: {
noExternal: ["@inertiajs/server", "vuetify", "vue-countup-v3"],
},
Hi, getting this error when trying SSR with InertiaJs. Did try to wrap the implementation with (vite method) and (vuetify), but no success
Stack is: Laravel11+inertiaJs and Vue3+vuetify in the front.
Would appreciate any info. As this is an SSR problem, i´m not able to provide a way to replicate it. Component works fine in dev mode (
vite --host
). Crashes appears only when initializing the SSR server by vite (php artisan inertia:start-ssr
)Removing the component from my imports gets everything fine