Code Monkey home page Code Monkey logo

Comments (12)

github-actions avatar github-actions commented on June 4, 2024

Would you be able to provide a reproduction? 🙏

More info

Why do I need to provide a reproduction?

Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.

What will happen?

If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritize it based on its severity and how many people we think it might affect.

If needs reproduction labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.

How can I create a reproduction?

We have a couple of templates for starting with a minimal reproduction:

👉 https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz
👉 https://codesandbox.io/s/github/nuxt/starter/v3-codesandbox

A public GitHub repository is also perfect. 👌

Please ensure that the reproduction is as minimal as possible. See more details in our guide.

You might also find these other articles interesting and/or helpful:

from nuxt.

manniL avatar manniL commented on June 4, 2024

If you use prefetching (which NuxtLink does by default) then yes, but only after the resources for the current pages.

from nuxt.

bbhxwl avatar bbhxwl commented on June 4, 2024

If you use prefetching (which NuxtLink does by default) then yes, but only after the resources for the current pages.

How can I optimize accessing resources on a page to minimize loading?

from nuxt.

bbhxwl avatar bbhxwl commented on June 4, 2024

If you use prefetching (which NuxtLink does by default) then yes, but only after the resources for the current pages.

From my homepage, no redirection was used

from nuxt.

bbhxwl avatar bbhxwl commented on June 4, 2024

If you use prefetching (which NuxtLink does by default) then yes, but only after the resources for the current pages.

It's strange that none of the code in my project uses NuxtLink. Is it the latest version bug?

from nuxt.

bbhxwl avatar bbhxwl commented on June 4, 2024

Please check my demo. It needs to be built and run to view. If you visit the homepage, it will load 3DBuilding..js and 3DBuilding..css

ADLDataDisplay.zip

from nuxt.

bbhxwl avatar bbhxwl commented on June 4, 2024

image

from nuxt.

manniL avatar manniL commented on June 4, 2024

First, providing your whole project is not a reproduction.

As mentioned before, this is the prefetch feature of the <NuxtLink> component:

When a <NuxtLink> enters the viewport on the client side, Nuxt will automatically prefetch components and payload (generated pages) of the linked pages ahead of time, resulting in faster navigation.

If you don't want that, you can e.g. add the no-prefetch attribute to the links

More in the routing docs and the NuxtLink docs

from nuxt.

bbhxwl avatar bbhxwl commented on June 4, 2024

First, providing your whole project is not a reproduction.

As mentioned before, this is the prefetch feature of the <NuxtLink> component:

When a <NuxtLink> enters the viewport on the client side, Nuxt will automatically prefetch components and payload (generated pages) of the linked pages ahead of time, resulting in faster navigation.

If you don't want that, you can e.g. add the no-prefetch attribute to the links

More in the routing docs and the NuxtLink docs

I haven't used this component before.

from nuxt.

bbhxwl avatar bbhxwl commented on June 4, 2024

First, providing your whole project is not a reproduction.

As mentioned before, this is the prefetch feature of the <NuxtLink> component:

When a <NuxtLink> enters the viewport on the client side, Nuxt will automatically prefetch components and payload (generated pages) of the linked pages ahead of time, resulting in faster navigation.

If you don't want that, you can e.g. add the no-prefetch attribute to the links

More in the routing docs and the NuxtLink docs

I haven't used this component in all of my code, but after compilation, it does exist. Why? I only have 2 pages, neither of which has a jump.

image

from nuxt.

manniL avatar manniL commented on June 4, 2024

Because your UI library uses it under the hood. In this case, the Button component (7th result in search)

from nuxt.

bbhxwl avatar bbhxwl commented on June 4, 2024

Because your UI library uses it under the hood. In this case, the Button component (7th result in search)

Will the button load even if it does not specify a jump route? This principle is so complex.

from nuxt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.