Vue Proximity PrefetchVue Proximity Prefetch
Home
GitHub
Home
GitHub
  • Introduction

    • Introduction
    • Installation
    • Getting Started
  • Configuration

    • Configuration
    • Component Props
    • Vite Plugin Options
  • Integrations

    • Integrations
    • Integration with Nuxt
    • Quasar Framework Integration
  • Vite Integration

    • Vite Integration
    • Component API
    • Vite Plugin API

Vue Proximity Prefetch

Tips

Boost your Vue app's perceived performance by prefetching routes when the mouse approaches links

Features

  • 🔍 Smart Detection: Detects when the user's mouse approaches navigation links
  • ⚡ Automatic Prefetching: Preloads route components before the user clicks
  • 📈 Enhanced UX: Reduces perceived loading times for smoother navigation
  • 🔌 Simple Integration: Two easy ways to integrate - Vue component or Vite plugin
  • 🔧 Highly Configurable: Customize threshold distance, prediction intervals, and more
  • ðŸŠķ Lightweight: Minimal overhead with smart request throttling

Easy to Use

Simple integration into your existing Vue application

Optimal Performance

Significantly improves user experience without overloading the network

Flexible

Use it as a Vue component or as a Vite plugin according to your needs

Quick Start

# npm
npm install v-proximity-prefetch

# yarn
yarn add v-proximity-prefetch

# pnpm
pnpm add v-proximity-prefetch

Check out the Getting Started Guide for a complete introduction.

Last Updated:: 4/7/25, 12:07 AM
Contributors: Killian-Aidalinfo