Skip to main content
Not yet stable
@foresightjs/vue is at 0.1.0 and not yet stable. It works and is fully tested, but the API may still change.
Version: 4.0

AI Context

ForesightJS provides an llms.txt file following the llms.txt specification to help LLMs understand and work with the library effectively.

What is llms.txt?

The llms.txt file is a standardized way to provide LLM-friendly information about a project. It contains:

  • A concise overview of what ForesightJS does
  • Links to key documentation sections in markdown format
  • Essential information for understanding the API and usage patterns

Using ForesightJS's llms.txt

Quick Access

Example Prompt

Read the ForesightJS documentation from: https://foresightjs.com/llms.txt

I need to implement ForesightJS predictive prefetching in my Next.js application. I want to:

1. Use the useForesight React hook for my custom link components
2. Integrate with Next.js router prefetching using ForesightLink
3. Use the default configuration, except that I want mobile prefetching to be on touch start

Individual Page Markdown

All documentation pages are available as markdown by adding .md to any URL:

  • https://foresightjs.com/docs/getting-started/what-is-foresightjs.md
  • https://foresightjs.com/docs/getting-started/initialize-the-manager.md
  • https://foresightjs.com/docs/getting-started/quick-start.md
  • https://foresightjs.com/docs/getting-started/typescript.md
  • https://foresightjs.com/docs/configuration/global-settings.md
  • https://foresightjs.com/docs/configuration/registration-options.md
  • https://foresightjs.com/docs/events.md
  • https://foresightjs.com/docs/debugging/devtools.md
  • https://foresightjs.com/docs/debugging/static-properties.md
  • https://foresightjs.com/docs/Behind_the_Scenes.md
  • https://foresightjs.com/docs/other-frameworks.md
  • https://foresightjs.com/docs/migrating-to-v4.md
  • https://foresightjs.com/docs/react/what-is-foresightjs.md
  • https://foresightjs.com/docs/react/installation.md
  • https://foresightjs.com/docs/react/initialize-the-manager.md
  • https://foresightjs.com/docs/react/quick-start.md
  • https://foresightjs.com/docs/react/typescript.md
  • https://foresightjs.com/docs/react/useForesight.md
  • https://foresightjs.com/docs/react/useForesights.md
  • https://foresightjs.com/docs/react/useForesightEvent.md
  • https://foresightjs.com/docs/react/nextjs.md
  • https://foresightjs.com/docs/react/react-router.md
  • https://foresightjs.com/docs/react/configuration/global-settings.md
  • https://foresightjs.com/docs/react/configuration/registration-options.md
  • https://foresightjs.com/docs/react/events.md
  • https://foresightjs.com/docs/react/devtools.md
  • https://foresightjs.com/docs/react/static-properties.md
  • https://foresightjs.com/docs/react/migrating-to-v4.md
  • https://foresightjs.com/docs/react/behind-the-scenes.md
  • https://foresightjs.com/docs/react/ai-context.md
  • https://foresightjs.com/docs/vue/what-is-foresightjs.md
  • https://foresightjs.com/docs/vue/installation.md
  • https://foresightjs.com/docs/vue/initialize-the-manager.md
  • https://foresightjs.com/docs/vue/quick-start.md
  • https://foresightjs.com/docs/vue/typescript.md
  • https://foresightjs.com/docs/vue/directive.md
  • https://foresightjs.com/docs/vue/useForesight.md
  • https://foresightjs.com/docs/vue/useForesights.md
  • https://foresightjs.com/docs/vue/useForesightEvent.md
  • https://foresightjs.com/docs/vue/configuration/global-settings.md
  • https://foresightjs.com/docs/vue/configuration/registration-options.md
  • https://foresightjs.com/docs/vue/events.md
  • https://foresightjs.com/docs/vue/devtools.md
  • https://foresightjs.com/docs/vue/static-properties.md
  • https://foresightjs.com/docs/vue/migrating-to-v4.md
  • https://foresightjs.com/docs/vue/behind-the-scenes.md
  • https://foresightjs.com/docs/vue/ai-context.md