Open Cacamoto opened 22 hours ago
@Cacamoto what backend adapter are you using? With the Laravel adapter I'm still getting the full path as usual, see below. The URL value comes from the backend.
Version:
@inertiajs/vue3
version: lagestDescribe the problem:
$page.url returns http://localhost:8000/ instead of /
Steps to reproduce:
Update to v2 and {{ $page.url }}
yes, you are right. when I want to activate the link, I use url.startsWith('profile') it no longer works. I switch to use component === 'Profile/Edit' ? 'active' : 'nope'
ref: https://laracasts.com/series/build-modern-laravel-apps-using-inertia-js/episodes/8
@pedroborges
"inertiajs/inertia-laravel": "2.x-dev"
$page.component === 'Home' ? 'outline' : 'ghost' works as expected
Version:
@inertiajs/vue3
version: lagestDescribe the problem:
$page.url returns http://localhost:8000/ instead of /
Steps to reproduce:
Update to v2 and {{ $page.url }}