[{"data":1,"prerenderedAt":407},["ShallowReactive",2],{"navigation_docs":3,"-get-started-providers":200,"-get-started-providers-surround":402},[4,30,47,187],{"title":5,"path":6,"stem":7,"children":8,"page":29},"Get Started","/get-started","1.get-started",[9,13,17,21,25],{"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",{"title":26,"path":27,"stem":28},"Migration","/get-started/migration","1.get-started/5.migration",false,{"title":31,"path":32,"stem":33,"children":34,"page":29},"Usage","/usage","2.usage",[35,39,43],{"title":36,"path":37,"stem":38},"\u003CNuxtImg>","/usage/nuxt-img","2.usage/1.nuxt-img",{"title":40,"path":41,"stem":42},"\u003CNuxtPicture>","/usage/nuxt-picture","2.usage/2.nuxt-picture",{"title":44,"path":45,"stem":46},"useImage()","/usage/use-image","2.usage/3.use-image",{"title":18,"path":48,"stem":49,"children":50,"page":29},"/providers","3.providers",[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,171,175,179,183],{"title":52,"path":53,"stem":54},"Aliyun","/providers/aliyun","3.providers/aliyun",{"title":56,"path":57,"stem":58},"AWS Amplify","/providers/aws-amplify","3.providers/aws-amplify",{"title":60,"path":61,"stem":62},"Bunny","/providers/bunny","3.providers/bunny",{"title":64,"path":65,"stem":66},"Caisy","/providers/caisy","3.providers/caisy",{"title":68,"path":69,"stem":70},"Cloudflare","/providers/cloudflare","3.providers/cloudflare",{"title":72,"path":73,"stem":74},"Cloudimage","/providers/cloudimage","3.providers/cloudimage",{"title":76,"path":77,"stem":78},"Cloudinary","/providers/cloudinary","3.providers/cloudinary",{"title":80,"path":81,"stem":82},"Contentful","/providers/contentful","3.providers/contentful",{"title":84,"path":85,"stem":86},"Directus","/providers/directus","3.providers/directus",{"title":88,"path":89,"stem":90},"Fastly","/providers/fastly","3.providers/fastly",{"title":92,"path":93,"stem":94},"Filerobot","/providers/filerobot","3.providers/filerobot",{"title":96,"path":97,"stem":98},"GitHub","/providers/github","3.providers/github",{"title":100,"path":101,"stem":102},"Glide","/providers/glide","3.providers/glide",{"title":104,"path":105,"stem":106},"Gumlet","/providers/gumlet","3.providers/gumlet",{"title":108,"path":109,"stem":110},"Hygraph","/providers/hygraph","3.providers/hygraph",{"title":112,"path":113,"stem":114},"ImageEngine","/providers/imageengine","3.providers/imageengine",{"title":116,"path":117,"stem":118},"ImageKit","/providers/imagekit","3.providers/imagekit",{"title":120,"path":121,"stem":122},"Imgix","/providers/imgix","3.providers/imgix",{"title":124,"path":125,"stem":126},"IPX","/providers/ipx","3.providers/ipx",{"title":128,"path":129,"stem":130},"Netlify","/providers/netlify","3.providers/netlify",{"title":132,"path":133,"stem":134},"None","/providers/none","3.providers/none",{"title":136,"path":137,"stem":138},"Prepr","/providers/prepr","3.providers/prepr",{"title":140,"path":141,"stem":142},"Prismic","/providers/prismic","3.providers/prismic",{"title":144,"path":145,"stem":146},"Sanity","/providers/sanity","3.providers/sanity",{"title":148,"path":149,"stem":150},"Shopify","/providers/shopify","3.providers/shopify",{"title":152,"path":153,"stem":154},"Sirv","/providers/sirv","3.providers/sirv",{"title":156,"path":157,"stem":158},"Storyblok","/providers/storyblok","3.providers/storyblok",{"title":160,"path":161,"stem":162},"Strapi","/providers/strapi","3.providers/strapi",{"title":164,"path":165,"stem":166},"Supabase","/providers/supabase","3.providers/supabase",{"title":168,"path":169,"stem":170},"Twicpics","/providers/twicpics","3.providers/twicpics",{"title":172,"path":173,"stem":174},"Unsplash","/providers/unsplash","3.providers/unsplash",{"title":176,"path":177,"stem":178},"Uploadcare","/providers/uploadcare","3.providers/uploadcare",{"title":180,"path":181,"stem":182},"Vercel","/providers/vercel","3.providers/vercel",{"title":184,"path":185,"stem":186},"Weserv","/providers/weserv","3.providers/weserv",{"title":188,"path":189,"stem":190,"children":191,"page":29},"Advanced","/advanced","4.advanced",[192,196],{"title":193,"path":194,"stem":195},"Custom Provider","/advanced/custom-provider","4.advanced/1.custom-provider",{"title":197,"path":198,"stem":199},"Static Images","/advanced/static-images","4.advanced/2.static-images",{"id":201,"title":18,"body":202,"description":395,"extension":396,"links":397,"meta":398,"navigation":399,"path":19,"seo":400,"stem":20,"__hash__":401},"docs/1.get-started/3.providers.md",{"type":203,"value":204,"toc":384},"minimark",[205,210,214,217,225,239,243,250,255,262,275,284,297,301,311,318,349,353,360,363,371,374,380],[206,207,209],"h2",{"id":208},"introduction-to-providers","Introduction to Providers",[211,212,213],"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.",[211,215,216],{},"Nuxt Image can be configured to work with any external image transformation service. Checkout the sidebar for a list of preconfigured providers.",[211,218,219,220,224],{},"If you are looking for a specific provider that is not already supported, you can ",[221,222,223],"a",{"href":194},"create your own provider",".",[211,226,227,228,231,232,234,235,238],{},"Nuxt Image will automatically optimize ",[229,230,36],"code",{}," and ",[229,233,40],{}," sources and accepts all ",[221,236,237],{"href":15},"options"," for specified targets, except for modifiers that are specific to other providers.",[206,240,242],{"id":241},"default-provider","Default Provider",[211,244,245,246,249],{},"The default optimizer and provider for Nuxt Image is ",[221,247,248],{"href":125},"ipx",". Either option can be used without any configuration.",[251,252,254],"h3",{"id":253},"local-images","Local Images",[211,256,257,258,261],{},"Images should be stored in the ",[229,259,260],{},"public/"," directory of your project.",[211,263,264,265,268,269,271,272,224],{},"For example, when rendering a ",[229,266,267],{},"\u003CNuxtImg src=\"/nuxt-icon.png\" />",", your PNG file should be placed in the ",[229,270,260],{}," directory under the path ",[229,273,274],{},"public/nuxt-icon.png",[211,276,277,278,224],{},"For more information, you can learn more about the ",[221,279,283],{"href":280,"rel":281},"https://nuxt.com/docs/guide/directory-structure/public",[282],"nofollow","public directory",[285,286,287,288,291,292,296],"note",{},"Images stored in the ",[229,289,290],{},"assets/"," directory are ",[293,294,295],"strong",{},"not"," processed with Nuxt Image because those images are managed by your bundler (such as Vite or webpack).",[251,298,300],{"id":299},"remote-images","Remote Images",[211,302,303,304,310],{},"Using the default provider, you can also optimize external URLs. For this, you need to add them to the ",[221,305,307],{"href":306},"/get-started/configuration#domains",[229,308,309],{},"domains"," option.",[211,312,313,314,317],{},"You can also add domains for remote images by setting the ",[229,315,316],{},"NUXT_IMAGE_DOMAINS"," environment variable to a comma-separated list of domains.",[319,320,325],"pre",{"className":321,"code":322,"language":323,"meta":324,"style":324},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","NUXT_IMAGE_DOMAINS=\"example.com,yourdomain.com\"\n","bash","",[229,326,327],{"__ignoreMap":324},[328,329,332,335,339,342,346],"span",{"class":330,"line":331},"line",1,[328,333,316],{"class":334},"sTEyZ",[328,336,338],{"class":337},"sMK4o","=",[328,340,341],{"class":337},"\"",[328,343,345],{"class":344},"sfazB","example.com,yourdomain.com",[328,347,348],{"class":337},"\"\n",[251,350,352],{"id":351},"environment-detection","Environment Detection",[211,354,355,356,359],{},"You can set the default provider using the ",[229,357,358],{},"NUXT_IMAGE_PROVIDER"," environment variable.",[211,361,362],{},"Providers detected automatically:",[364,365,366],"ul",{},[367,368,369],"li",{},[221,370,180],{"href":181},[251,372,193],{"id":373},"custom-provider",[211,375,376,377,224],{},"It is possible to define your own provider, learn more about ",[221,378,379],{"href":194},"how to create a custom provider",[381,382,383],"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":324,"searchDepth":385,"depth":385,"links":386},2,[387,388],{"id":208,"depth":385,"text":209},{"id":241,"depth":385,"text":242,"children":389},[390,392,393,394],{"id":253,"depth":391,"text":254},3,{"id":299,"depth":391,"text":300},{"id":351,"depth":391,"text":352},{"id":373,"depth":391,"text":193},"Nuxt Image supports multiple providers for high performance.","md",null,{},true,{"title":18,"description":395},"ayxM7wITMvNKLv_Z6XEvMQzudJ02PjA-ppNBEiU7UuY",[403,405],{"title":14,"path":15,"stem":16,"description":404,"children":-1},"Nuxt Image is configured with sensible defaults.",{"title":22,"path":23,"stem":24,"description":406,"children":-1},"We can never thank you enough for your contributions.",1767881374572]