mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
15 lines
317 B
Markdown
15 lines
317 B
Markdown
# Example app with prefetching pages
|
|
|
|
This example features:
|
|
|
|
* An app with four simple pages
|
|
* The "about" page uses the imperative (i.e.: "manual") prefetching API to prefetch on hover
|
|
* It will prefetch all the pages in the background except the "contact" page
|
|
|
|
## How to run it
|
|
|
|
```sh
|
|
npm install
|
|
npm run dev
|
|
```
|