Skip to content
New issue

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

Have as=a for ResponsiveNavLink Component in Inertia #1543

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

alnutile
Copy link
Contributor

This way, as with DropdownLink, we can link to non inertia pages for example:

<ResponsiveNavLink
    as="a"
    :href="route('filament.admin.pages.dashboard')">
    Admin Area
</ResponsiveNavLink>

Does not seem to impact the Livewire related component so I did not update that.

This why like DropdownLink we can link to non inertia pages for example 

```
                            <ResponsiveNavLink
                                as="a"
                                :href="route('filament.admin.pages.dashboard')" :active="route().current('filament.admin.pages.dashboard')">
                                Admin Area
                            </ResponsiveNavLink>
```
@taylorotwell taylorotwell merged commit c9c23e1 into laravel:5.x Oct 12, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants