Update prefetch README filename styling (#7613)
This commit is contained in:
parent
904921cbe4
commit
131c92279e
2 changed files with 6 additions and 2 deletions
5
.changeset/ten-buckets-rush.md
Normal file
5
.changeset/ten-buckets-rush.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@astrojs/prefetch": patch
|
||||
---
|
||||
|
||||
Update prefetch README filename syntax
|
|
@ -86,9 +86,8 @@ export default defineConfig({
|
|||
|
||||
By default, the prefetch script also searches the page for any links that include a `rel="prefetch-intent"` attribute, ex: `<a rel="prefetch-intent" />`. This behavior can be changed in your `astro.config.*` file to use a custom query selector when finding prefetch-intent links.
|
||||
|
||||
**`astro.config.mjs`**
|
||||
|
||||
```js
|
||||
// astro.config.mjs
|
||||
import { defineConfig } from 'astro/config';
|
||||
import prefetch from '@astrojs/prefetch';
|
||||
|
||||
|
|
Loading…
Reference in a new issue