Skip to content

Commit

Permalink
Update prefetch README filename styling (#7613)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanthomasdev authored Jul 10, 2023
1 parent 904921c commit 131c922
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/ten-buckets-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/prefetch": patch
---

Update prefetch README filename syntax
3 changes: 1 addition & 2 deletions packages/integrations/prefetch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 131c922

Please sign in to comment.