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 rel="preload".... doesn't work in <Head> #2073

Open
imt-kn opened this issue Nov 1, 2024 · 0 comments
Open

<link rel="preload".... doesn't work in <Head> #2073

imt-kn opened this issue Nov 1, 2024 · 0 comments

Comments

@imt-kn
Copy link

imt-kn commented Nov 1, 2024

Version:

  • @inertiajs/vue3 version: 1.0.16

Describe the problem:

I am trying to preload an image within <Head> using <link rel="preload".... but it doesn't seem to preload it. I tried to preload the same resource in the app.blade.php and it preloaded it.

Steps to reproduce:

1- Create a vue page with component.
2- Add an image to the component.
3- import and use component form "@inertiajs/vue3"
4- add <link rel="preload" href="image/path" > in <Head>
5- Check the Network tab in the devtools

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