-
Notifications
You must be signed in to change notification settings - Fork 512
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
[Inertia] Update <Link> tags & implement <Head> management (title tag) #90
Conversation
claudiodekker
commented
Jul 20, 2021
- Adjust changes as done in [Inertia] Update <Link> tags & implement <Head> management (title tag) jetstream#832
- Implements -management support as to allow for per-page title tags.
- Moves forms etc. to a 'Partials' subfolder, as to more clearly indicate which files are "Pages" and which aren't.
@@ -1,5 +1,15 @@ | |||
<template> | |||
<inertia-link class="block w-full px-4 py-2 text-left text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out"> | |||
<Link class="block w-full px-4 py-2 text-left text-sm leading-5 text-gray-700 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 transition duration-150 ease-in-out"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is missing a href attribute. We will get an error like this inertiajs/inertia#744 if no href attribute on a Link.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identifier 'Link' has already been declared. in Dropdown.js