[{"data":1,"prerenderedAt":393},["ShallowReactive",2],{"navigation":3,"-get-started-providers":184,"-get-started-providers-surround":388},[4,26,43,171],{"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,167],{"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},"Shopify","/providers/shopify","3.providers/shopify",{"title":140,"path":141,"stem":142},"Sirv","/providers/sirv","3.providers/sirv",{"title":144,"path":145,"stem":146},"Storyblok","/providers/storyblok","3.providers/storyblok",{"title":148,"path":149,"stem":150},"Strapi","/providers/strapi","3.providers/strapi",{"title":152,"path":153,"stem":154},"Twicpics","/providers/twicpics","3.providers/twicpics",{"title":156,"path":157,"stem":158},"Unsplash","/providers/unsplash","3.providers/unsplash",{"title":160,"path":161,"stem":162},"Uploadcare","/providers/uploadcare","3.providers/uploadcare",{"title":164,"path":165,"stem":166},"Vercel","/providers/vercel","3.providers/vercel",{"title":168,"path":169,"stem":170},"Weserv","/providers/weserv","3.providers/weserv",{"title":172,"path":173,"stem":174,"children":175,"page":25},"Advanced","/advanced","4.advanced",[176,180],{"title":177,"path":178,"stem":179},"Custom Provider","/advanced/custom-provider","4.advanced/1.custom-provider",{"title":181,"path":182,"stem":183},"Static Images","/advanced/static-images","4.advanced/2.static-images",{"id":185,"title":18,"body":186,"description":381,"extension":382,"links":383,"meta":384,"navigation":385,"path":19,"seo":386,"stem":20,"__hash__":387},"docs/1.get-started/3.providers.md",{"type":187,"value":188,"toc":370},"minimark",[189,194,198,201,209,223,227,234,239,246,259,268,283,287,297,304,335,339,346,349,357,360,366],[190,191,193],"h2",{"id":192},"introduction-to-providers","Introduction to Providers",[195,196,197],"p",{},"Providers are integrations between Nuxt Image and third-party image transformation services. Each provider is responsible for generating correct URLs for that image transformation service.",[195,199,200],{},"Nuxt Image can be configured to work with any external image transformation service. Checkout sidebar for list of preconfigured providers.",[195,202,203,204,208],{},"If you are looking for a specific provider that is not already supported, you can ",[205,206,207],"a",{"href":178},"create your own provider",".",[195,210,211,212,215,216,218,219,222],{},"Nuxt Image will automatically optimize ",[213,214,32],"code",{}," or ",[213,217,36],{}," sources and accepts all ",[205,220,221],{"href":15},"options"," for specified target, except for modifiers that are specific to other providers.",[190,224,226],{"id":225},"default-provider","Default Provider",[195,228,229,230,233],{},"The default optimizer and provider for Nuxt Image is ",[205,231,232],{"href":117},"ipx",". Either option can be used without any configuration.",[235,236,238],"h3",{"id":237},"local-images","Local Images",[195,240,241,242,245],{},"Images should be stored in the ",[213,243,244],{},"public/"," directory of your project.",[195,247,248,249,252,253,255,256,208],{},"For example, when using ",[213,250,251],{},"\u003CNuxtImg src=\"/nuxt-icon.png\" />",", it should be placed in ",[213,254,244],{}," folder under the path ",[213,257,258],{},"public/nuxt-icon.png",[195,260,261,262,208],{},"For more information, you can learn more about the ",[205,263,267],{"href":264,"rel":265},"https://nuxt.com/docs/guide/directory-structure/public",[266],"nofollow","public directory",[269,270,271],"note",{},[195,272,273,274,277,278,282],{},"Image stored in the ",[213,275,276],{},"assets/"," directory are ",[279,280,281],"strong",{},"not"," processed with Nuxt Image because those images are managed by your bundler (such as Vite or webpack).",[235,284,286],{"id":285},"remote-images","Remote Images",[195,288,289,290,296],{},"Using default provider, you can also optimize external URLs. For this, you need to add them to ",[205,291,293],{"href":292},"/get-started/configuration#domains",[213,294,295],{},"domains"," option.",[195,298,299,300,303],{},"You can also add domains for remote images by setting the ",[213,301,302],{},"NUXT_IMAGE_DOMAINS"," environment variable to a comma-separated list of domains.",[305,306,311],"pre",{"className":307,"code":308,"language":309,"meta":310,"style":310},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","NUXT_IMAGE_DOMAINS=\"example.com,yourdomain.com\"\n","bash","",[213,312,313],{"__ignoreMap":310},[314,315,318,321,325,328,332],"span",{"class":316,"line":317},"line",1,[314,319,302],{"class":320},"sTEyZ",[314,322,324],{"class":323},"sMK4o","=",[314,326,327],{"class":323},"\"",[314,329,331],{"class":330},"sfazB","example.com,yourdomain.com",[314,333,334],{"class":323},"\"\n",[235,336,338],{"id":337},"environment-detection","Environment Detection",[195,340,341,342,345],{},"You can set default provider using ",[213,343,344],{},"NUXT_IMAGE_PROVIDER"," environment variable.",[195,347,348],{},"Providers detected automatically:",[350,351,352],"ul",{},[353,354,355],"li",{},[205,356,164],{"href":165},[235,358,177],{"id":359},"custom-provider",[195,361,362,363,208],{},"It is possible to define your own provider, learn more ",[205,364,365],{"href":178},"how to create a custom provider",[367,368,369],"style",{},"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 .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":310,"searchDepth":371,"depth":371,"links":372},2,[373,374],{"id":192,"depth":371,"text":193},{"id":225,"depth":371,"text":226,"children":375},[376,378,379,380],{"id":237,"depth":377,"text":238},3,{"id":285,"depth":377,"text":286},{"id":337,"depth":377,"text":338},{"id":359,"depth":377,"text":177},"Nuxt Image supports multiple providers for high performances.","md",null,{},true,{"title":18,"description":381},"P5dJbZ58Rz52TUbwXTLygk_bhQ-7ofSKVEuZ6LSNrlE",[389,391],{"title":14,"path":15,"stem":16,"description":390,"children":-1},"Nuxt Image is configured with sensible defaults.",{"title":22,"path":23,"stem":24,"description":392,"children":-1},"We can never thank you enough for your contributions.",1753877275030]