[{"data":1,"prerenderedAt":470},["ShallowReactive",2],{"navigation":3,"/providers/prepr":180,"/providers/prepr-surround":465},[4,26,43,167],{"title":5,"path":6,"stem":7,"children":8,"page":25},"Get Started","/get-started","1.get-started",[9,13,17,21],{"title":10,"path":11,"stem":12},"Installation","/get-started/installation","1.get-started/1.installation",{"title":14,"path":15,"stem":16},"Configuration","/get-started/configuration","1.get-started/2.configuration",{"title":18,"path":19,"stem":20},"Providers","/get-started/providers","1.get-started/3.providers",{"title":22,"path":23,"stem":24},"Contributing","/get-started/contributing","1.get-started/4.contributing",false,{"title":27,"path":28,"stem":29,"children":30,"page":25},"Usage","/usage","2.usage",[31,35,39],{"title":32,"path":33,"stem":34},"\u003CNuxtImg>","/usage/nuxt-img","2.usage/1.nuxt-img",{"title":36,"path":37,"stem":38},"\u003CNuxtPicture>","/usage/nuxt-picture","2.usage/2.nuxt-picture",{"title":40,"path":41,"stem":42},"useImage()","/usage/use-image","2.usage/3.use-image",{"title":18,"path":44,"stem":45,"children":46,"page":25},"/providers","3.providers",[47,51,55,59,63,67,71,75,79,83,87,91,95,99,103,107,111,115,119,123,127,131,135,139,143,147,151,155,159,163],{"title":48,"path":49,"stem":50},"Aliyun","/providers/aliyun","3.providers/aliyun",{"title":52,"path":53,"stem":54},"AWS Amplify","/providers/aws-amplify","3.providers/aws-amplify",{"title":56,"path":57,"stem":58},"Bunny","/providers/bunny","3.providers/bunny",{"title":60,"path":61,"stem":62},"Caisy","/providers/caisy","3.providers/caisy",{"title":64,"path":65,"stem":66},"Cloudflare","/providers/cloudflare","3.providers/cloudflare",{"title":68,"path":69,"stem":70},"Cloudimage","/providers/cloudimage","3.providers/cloudimage",{"title":72,"path":73,"stem":74},"Cloudinary","/providers/cloudinary","3.providers/cloudinary",{"title":76,"path":77,"stem":78},"Contentful","/providers/contentful","3.providers/contentful",{"title":80,"path":81,"stem":82},"Directus","/providers/directus","3.providers/directus",{"title":84,"path":85,"stem":86},"Fastly","/providers/fastly","3.providers/fastly",{"title":88,"path":89,"stem":90},"Filerobot","/providers/filerobot","3.providers/filerobot",{"title":92,"path":93,"stem":94},"Glide","/providers/glide","3.providers/glide",{"title":96,"path":97,"stem":98},"Gumlet","/providers/gumlet","3.providers/gumlet",{"title":100,"path":101,"stem":102},"Hygraph","/providers/hygraph","3.providers/hygraph",{"title":104,"path":105,"stem":106},"ImageEngine","/providers/imageengine","3.providers/imageengine",{"title":108,"path":109,"stem":110},"ImageKit","/providers/imagekit","3.providers/imagekit",{"title":112,"path":113,"stem":114},"Imgix","/providers/imgix","3.providers/imgix",{"title":116,"path":117,"stem":118},"IPX","/providers/ipx","3.providers/ipx",{"title":120,"path":121,"stem":122},"Netlify","/providers/netlify","3.providers/netlify",{"title":124,"path":125,"stem":126},"Prepr","/providers/prepr","3.providers/prepr",{"title":128,"path":129,"stem":130},"Prismic","/providers/prismic","3.providers/prismic",{"title":132,"path":133,"stem":134},"Sanity","/providers/sanity","3.providers/sanity",{"title":136,"path":137,"stem":138},"Sirv","/providers/sirv","3.providers/sirv",{"title":140,"path":141,"stem":142},"Storyblok","/providers/storyblok","3.providers/storyblok",{"title":144,"path":145,"stem":146},"Strapi","/providers/strapi","3.providers/strapi",{"title":148,"path":149,"stem":150},"Twicpics","/providers/twicpics","3.providers/twicpics",{"title":152,"path":153,"stem":154},"Unsplash","/providers/unsplash","3.providers/unsplash",{"title":156,"path":157,"stem":158},"Uploadcare","/providers/uploadcare","3.providers/uploadcare",{"title":160,"path":161,"stem":162},"Vercel","/providers/vercel","3.providers/vercel",{"title":164,"path":165,"stem":166},"Weserv","/providers/weserv","3.providers/weserv",{"title":168,"path":169,"stem":170,"children":171,"page":25},"Advanced","/advanced","4.advanced",[172,176],{"title":173,"path":174,"stem":175},"Custom Provider","/advanced/custom-provider","4.advanced/1.custom-provider",{"title":177,"path":178,"stem":179},"Static Images","/advanced/static-images","4.advanced/2.static-images",{"id":181,"title":124,"body":182,"description":453,"extension":454,"links":455,"meta":461,"navigation":462,"path":125,"seo":463,"stem":126,"__hash__":464},"docs/3.providers/prepr.md",{"type":183,"value":184,"toc":447},"minimark",[185,196,204,307,312,321,324,341,355,359,362,404,409,420,435,443],[186,187,188,189,195],"p",{},"Integration between ",[190,191,124],"a",{"href":192,"rel":193},"https://prepr.io",[194],"nofollow"," and Nuxt Image.",[186,197,198,199,203],{},"To use this provider you just need to specify the ",[200,201,202],"code",{},"projectName"," of your project in Prepr.",[205,206,212],"pre",{"className":207,"code":208,"filename":209,"language":210,"meta":211,"style":211},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  image: {\n    prepr: {\n      // E.g.: https://YourProjectName.prepr.io\n      projectName: 'YourProjectName'\n    }\n  }\n})\n","nuxt.config.ts","ts","",[200,213,214,238,251,261,268,286,292,298],{"__ignoreMap":211},[215,216,219,223,226,230,234],"span",{"class":217,"line":218},"line",1,[215,220,222],{"class":221},"s7zQu","export",[215,224,225],{"class":221}," default",[215,227,229],{"class":228},"s2Zo4"," defineNuxtConfig",[215,231,233],{"class":232},"sTEyZ","(",[215,235,237],{"class":236},"sMK4o","{\n",[215,239,241,245,248],{"class":217,"line":240},2,[215,242,244],{"class":243},"swJcz","  image",[215,246,247],{"class":236},":",[215,249,250],{"class":236}," {\n",[215,252,254,257,259],{"class":217,"line":253},3,[215,255,256],{"class":243},"    prepr",[215,258,247],{"class":236},[215,260,250],{"class":236},[215,262,264],{"class":217,"line":263},4,[215,265,267],{"class":266},"sHwdD","      // E.g.: https://YourProjectName.prepr.io\n",[215,269,271,274,276,279,283],{"class":217,"line":270},5,[215,272,273],{"class":243},"      projectName",[215,275,247],{"class":236},[215,277,278],{"class":236}," '",[215,280,282],{"class":281},"sfazB","YourProjectName",[215,284,285],{"class":236},"'\n",[215,287,289],{"class":217,"line":288},6,[215,290,291],{"class":236},"    }\n",[215,293,295],{"class":217,"line":294},7,[215,296,297],{"class":236},"  }\n",[215,299,301,304],{"class":217,"line":300},8,[215,302,303],{"class":236},"}",[215,305,306],{"class":232},")\n",[308,309,311],"h2",{"id":310},"modifiers","Modifiers",[186,313,314,315,320],{},"The Prepr provider supports a number of additional modifiers. For a full list,\ncheck out the ",[190,316,319],{"href":317,"rel":318},"https://docs.prepr.io/reference/rest/v1/assets-resizing",[194],"Prepr documentation",".\nAll current transformations currently mentioned in Prepr docs are supported.",[186,322,323],{},"For the time being you might find the following links useful:",[325,326,327,334],"ul",{},[328,329,330],"li",{},[190,331,333],{"href":317,"rel":332},[194],"Assets Resizing via REST API",[328,335,336],{},[190,337,340],{"href":338,"rel":339},"https://docs.prepr.io/managing-content/images",[194],"Understanding your marketing and design team workflows",[342,343,344],"note",{},[186,345,346,347,350,351,354],{},"prepr.io does not provide a way to restrict what domains can\nrequest assets to your project's CDN, nor limit the maximum size in ",[200,348,349],{},"pixels"," or\n",[200,352,353],{},"bytes"," of images that are served from the CDN.",[356,357,311],"h3",{"id":358},"modifiers-1",[186,360,361],{},"The following more readable modifiers are supported, in addition to Prepr's\nnative modifiers:",[325,363,364,373,380,388,396],{},[328,365,366,369,370],{},[200,367,368],{},"crop"," is equivalent to ",[200,371,372],{},"c",[328,374,375,369,378],{},[200,376,377],{},"format",[200,379,377],{},[328,381,382,369,385],{},[200,383,384],{},"height",[200,386,387],{},"h",[328,389,390,369,393],{},[200,391,392],{},"quality",[200,394,395],{},"q",[328,397,398,369,401],{},[200,399,400],{},"width",[200,402,403],{},"w",[356,405,407],{"id":406},"fit",[200,408,406],{},[186,410,411,412,419],{},"In addition to the values specified in the Prepr docs, which are respected, the\nfollowing options from the ",[190,413,415,416,418],{"href":414},"/usage/nuxt-img#fit","default ",[200,417,406],{}," behavior","\nare supported:",[325,421,422],{},[328,423,424,427,428,430,431,434],{},[200,425,426],{},"cover"," - this will behave like the Prepr modifier ",[200,429,368],{},", when passed without\na value (defaults to ",[200,432,433],{},"centre",")",[342,436,437],{},[186,438,439,440,442],{},"For the time being, other ",[200,441,406],{}," options are not supported by this provider.",[444,445,446],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":211,"searchDepth":240,"depth":240,"links":448},[449],{"id":310,"depth":240,"text":311,"children":450},[451,452],{"id":358,"depth":253,"text":311},{"id":406,"depth":253,"text":406},"Nuxt Image integration with Prepr CMS.","md",[456],{"label":457,"icon":458,"to":459,"size":460},"Source","i-simple-icons-github","https://github.com/nuxt/image/tree/main/src/runtime/providers/prepr","xs",{},true,{"title":124,"description":453},"mVCh1kFmUKNFPFU5WuR7EDY5Dpjro3QWSVztDiBwCNw",[466,468],{"title":120,"path":121,"stem":122,"description":467,"children":-1},"Optimize images with Netlify's dynamic image transformation service.",{"title":128,"path":129,"stem":130,"description":469,"children":-1},"Nuxt Image has first class integration with Prismic.",1750165851925]