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

Link component as doesn't render other components #1746

Open
crazyhl opened this issue Dec 12, 2023 · 0 comments
Open

Link component as doesn't render other components #1746

crazyhl opened this issue Dec 12, 2023 · 0 comments

Comments

@crazyhl
Copy link

crazyhl commented Dec 12, 2023

Version:

  • @inertiajs/vue3 version: 1.0.14

Describe the problem:

Link component only render html tag component , but doesn't render other third vue component。
here has same issue #1654 and #1550

I use #1654 (comment) to test Vue's dynamic <component> tag。but Vue's dynamic <component> tag not has as attribute, it use is attribute。 when i use is it works.

<v-btn>abc</v-btn>
    <Component is="v-btn">abc1</Component>
    <Link href="/" as="button">Home</Link>
    <Link href="/" as="v-btn">Home1</Link>
image

but, Link is not correct rendered.
image

I also use :as='v-btn' or :as='VBtn' , it doesn't work.

the console has error
image

image
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

No branches or pull requests

1 participant