Skip to content

Commit

Permalink
Update docs/content/en/4.providers/prismic.md
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Roe <[email protected]>
  • Loading branch information
pi0 and danielroe authored May 17, 2021
1 parent 6a9ae48 commit 21aff06
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/content/en/4.providers/prismic.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ category: Providers

Integration between [Prismic](https://prismic.io/docs) and the image module.

To use this provider you just need to specify an empty object at `prismic` key in Nuxt Image options object.
No specific configuration is required for Prismic support. You just need to specify `provider: 'prismic'` in your configuration to make it the default, or pass it directly when you need it, for example:
```html
<nuxt-img provider="prismic" src="..." />

```js{}[nuxt.config.js]
export default {
Expand All @@ -21,4 +23,4 @@ export default {

Prismic allows content writer to manipulate images through its UI (cropping, rezising, etc.). To preserve that behavior this provider does not strip query parameters coming from Prismic. Instead it only overrides them when needed, keeping developers in control.

</alert>
</alert>

0 comments on commit 21aff06

Please sign in to comment.