[{"data":1,"prerenderedAt":3457},["Reactive",2],{"navigation":3,"docs-/get-started/providers":133,"docs-/get-started/providers-surround":387},[4,20,33,123],{"title":5,"_path":6,"children":7},"Get Started","/get-started",[8,11,14,17],{"title":9,"_path":10},"Installation","/get-started/installation",{"title":12,"_path":13},"Configuration","/get-started/configuration",{"title":15,"_path":16},"Providers","/get-started/providers",{"title":18,"_path":19},"Contributing","/get-started/contributing",{"title":21,"_path":22,"children":23},"Usage","/usage",[24,27,30],{"title":25,"_path":26},"\u003CNuxtImg>","/usage/nuxt-img",{"title":28,"_path":29},"\u003CNuxtPicture>","/usage/nuxt-picture",{"title":31,"_path":32},"useImage()","/usage/use-image",{"title":15,"_path":34,"children":35},"/providers",[36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99,102,105,108,111,114,117,120],{"title":37,"_path":38},"Aliyun","/providers/aliyun",{"title":40,"_path":41},"AWS Amplify","/providers/aws-amplify",{"title":43,"_path":44},"Caisy","/providers/caisy",{"title":46,"_path":47},"Cloudflare","/providers/cloudflare",{"title":49,"_path":50},"Cloudimage","/providers/cloudimage",{"title":52,"_path":53},"Cloudinary","/providers/cloudinary",{"title":55,"_path":56},"Contentful","/providers/contentful",{"title":58,"_path":59},"Directus","/providers/directus",{"title":61,"_path":62},"Edgio","/providers/edgio",{"title":64,"_path":65},"Fastly","/providers/fastly",{"title":67,"_path":68},"Glide","/providers/glide",{"title":70,"_path":71},"Gumlet","/providers/gumlet",{"title":73,"_path":74},"Hygraph","/providers/hygraph",{"title":76,"_path":77},"ImageEngine","/providers/imageengine",{"title":79,"_path":80},"ImageKit","/providers/imagekit",{"title":82,"_path":83},"Imgix","/providers/imgix",{"title":85,"_path":86},"IPX","/providers/ipx",{"title":88,"_path":89},"Netlify","/providers/netlify",{"title":91,"_path":92},"Prepr","/providers/prepr",{"title":94,"_path":95},"Prismic","/providers/prismic",{"title":97,"_path":98},"Sanity","/providers/sanity",{"title":100,"_path":101},"Sirv","/providers/sirv",{"title":103,"_path":104},"Storyblok","/providers/storyblok",{"title":106,"_path":107},"Strapi","/providers/strapi",{"title":109,"_path":110},"Twicpics","/providers/twicpics",{"title":112,"_path":113},"Unsplash","/providers/unsplash",{"title":115,"_path":116},"Uploadcare","/providers/uploadcare",{"title":118,"_path":119},"Vercel","/providers/vercel",{"title":121,"_path":122},"Weserv","/providers/weserv",{"title":124,"_path":125,"children":126},"Advanced","/advanced",[127,130],{"title":128,"_path":129},"Custom Provider","/advanced/custom-provider",{"title":131,"_path":132},"Static Images","/advanced/static-images",{"_path":16,"_dir":134,"_draft":135,"_partial":135,"_locale":136,"title":15,"description":137,"body":138,"_type":382,"_id":383,"_source":384,"_file":385,"_extension":386},"get-started",false,"","Nuxt Image supports multiple providers for high performances.",{"type":139,"children":140,"toc":371},"root",[141,150,156,161,174,199,205,217,224,236,260,274,298,304,320,326,338,343,355,360],{"type":142,"tag":143,"props":144,"children":146},"element","h2",{"id":145},"introduction-to-providers",[147],{"type":148,"value":149},"text","Introduction to providers",{"type":142,"tag":151,"props":152,"children":153},"p",{},[154],{"type":148,"value":155},"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.",{"type":142,"tag":151,"props":157,"children":158},{},[159],{"type":148,"value":160},"Nuxt Image can be configured to work with any external image transformation service. Checkout sidebar for list of preconfigured providers.",{"type":142,"tag":151,"props":162,"children":163},{},[164,166,172],{"type":148,"value":165},"If you are looking for a specific provider that is not already supported, you can ",{"type":142,"tag":167,"props":168,"children":169},"a",{"href":129},[170],{"type":148,"value":171},"create your own provider",{"type":148,"value":173},".",{"type":142,"tag":151,"props":175,"children":176},{},[177,179,184,186,190,192,197],{"type":148,"value":178},"Nuxt Image will automatically optimize ",{"type":142,"tag":180,"props":181,"children":182},"code",{"className":136},[183],{"type":148,"value":25},{"type":148,"value":185}," or ",{"type":142,"tag":180,"props":187,"children":188},{"className":136},[189],{"type":148,"value":28},{"type":148,"value":191}," sources and accepts all ",{"type":142,"tag":167,"props":193,"children":194},{"href":13},[195],{"type":148,"value":196},"options",{"type":148,"value":198}," for specified target, except for modifiers that are specific to other providers.",{"type":142,"tag":143,"props":200,"children":202},{"id":201},"default-provider",[203],{"type":148,"value":204},"Default Provider",{"type":142,"tag":151,"props":206,"children":207},{},[208,210,215],{"type":148,"value":209},"The default optimizer and provider for Nuxt Image is ",{"type":142,"tag":167,"props":211,"children":212},{"href":86},[213],{"type":148,"value":214},"ipx",{"type":148,"value":216},". Either option can be used without any configuration.",{"type":142,"tag":218,"props":219,"children":221},"h3",{"id":220},"local-images",[222],{"type":148,"value":223},"Local Images",{"type":142,"tag":151,"props":225,"children":226},{},[227,229,234],{"type":148,"value":228},"Images should be stored in the ",{"type":142,"tag":180,"props":230,"children":231},{"className":136},[232],{"type":148,"value":233},"public/",{"type":148,"value":235}," directory of your project.",{"type":142,"tag":151,"props":237,"children":238},{},[239,241,246,248,252,254,259],{"type":148,"value":240},"For example, when using ",{"type":142,"tag":180,"props":242,"children":243},{"className":136},[244],{"type":148,"value":245},"\u003CNuxtImg src=\"/nuxt-icon.png\" />",{"type":148,"value":247},", it should be placed in ",{"type":142,"tag":180,"props":249,"children":250},{"className":136},[251],{"type":148,"value":233},{"type":148,"value":253}," folder under the path ",{"type":142,"tag":180,"props":255,"children":256},{"className":136},[257],{"type":148,"value":258},"public/nuxt-icon.png",{"type":148,"value":173},{"type":142,"tag":151,"props":261,"children":262},{},[263,265,273],{"type":148,"value":264},"For more information, you can learn more about the ",{"type":142,"tag":167,"props":266,"children":270},{"href":267,"rel":268},"https://nuxt.com/docs/guide/directory-structure/public",[269],"nofollow",[271],{"type":148,"value":272},"public directory",{"type":148,"value":173},{"type":142,"tag":275,"props":276,"children":277},"callout",{},[278],{"type":142,"tag":151,"props":279,"children":280},{},[281,283,288,290,296],{"type":148,"value":282},"Image stored in the ",{"type":142,"tag":180,"props":284,"children":285},{"className":136},[286],{"type":148,"value":287},"assets/",{"type":148,"value":289}," directory are ",{"type":142,"tag":291,"props":292,"children":293},"strong",{},[294],{"type":148,"value":295},"not",{"type":148,"value":297}," proccessed with Nuxt Image because those images are managed by webpack.",{"type":142,"tag":218,"props":299,"children":301},{"id":300},"remote-images",[302],{"type":148,"value":303},"Remote Images",{"type":142,"tag":151,"props":305,"children":306},{},[307,309,318],{"type":148,"value":308},"Using default provider, you can also optimize external URLs. For this, you need to add them to ",{"type":142,"tag":167,"props":310,"children":312},{"href":311},"/get-started/configuration#domains",[313],{"type":142,"tag":180,"props":314,"children":315},{"className":136},[316],{"type":148,"value":317},"domains",{"type":148,"value":319}," option.",{"type":142,"tag":218,"props":321,"children":323},{"id":322},"environment-detection",[324],{"type":148,"value":325},"Environment Detection",{"type":142,"tag":151,"props":327,"children":328},{},[329,331,336],{"type":148,"value":330},"You can set default provider using ",{"type":142,"tag":180,"props":332,"children":333},{"className":136},[334],{"type":148,"value":335},"NUXT_IMAGE_PROVIDER",{"type":148,"value":337}," environment variable.",{"type":142,"tag":151,"props":339,"children":340},{},[341],{"type":148,"value":342},"Providers detected automatically:",{"type":142,"tag":344,"props":345,"children":346},"ul",{},[347],{"type":142,"tag":348,"props":349,"children":350},"li",{},[351],{"type":142,"tag":167,"props":352,"children":353},{"href":119},[354],{"type":148,"value":118},{"type":142,"tag":218,"props":356,"children":358},{"id":357},"custom-provider",[359],{"type":148,"value":128},{"type":142,"tag":151,"props":361,"children":362},{},[363,365,370],{"type":148,"value":364},"It is possible to define your own provider, learn more ",{"type":142,"tag":167,"props":366,"children":367},{"href":129},[368],{"type":148,"value":369},"how to create a custom provider",{"type":148,"value":173},{"title":136,"searchDepth":372,"depth":372,"links":373},2,[374,375],{"id":145,"depth":372,"text":149},{"id":201,"depth":372,"text":204,"children":376},[377,379,380,381],{"id":220,"depth":378,"text":223},3,{"id":300,"depth":378,"text":303},{"id":322,"depth":378,"text":325},{"id":357,"depth":378,"text":128},"markdown","content:1.get-started:3.providers.md","content","1.get-started/3.providers.md","md",[388,3242],{"_path":13,"_dir":134,"_draft":135,"_partial":135,"_locale":136,"title":12,"description":389,"body":390,"_type":382,"_id":3240,"_source":384,"_file":3241,"_extension":386},"Nuxt Image is configured with sensible defaults.",{"type":139,"children":391,"toc":3225},[392,411,507,515,527,608,616,621,636,722,730,740,796,809,908,916,921,937,1240,1263,1270,1275,1371,1379,1384,1699,1707,1725,2024,2032,2056,2066,2207,2215,2220,2443,2451,2460,2478,2497,2609,2617,2626,2642,2667,2754,2762,2821,2829,2840,2845,2850,2858,3013,3023,3066,3071,3115,3124,3167,3171,3214,3219],{"type":142,"tag":151,"props":393,"children":394},{},[395,397,402,404,409],{"type":148,"value":396},"To configure the image module and customize its behavior, you can use the ",{"type":142,"tag":180,"props":398,"children":399},{"className":136},[400],{"type":148,"value":401},"image",{"type":148,"value":403}," property in your ",{"type":142,"tag":180,"props":405,"children":406},{"className":136},[407],{"type":148,"value":408},"nuxt.config",{"type":148,"value":410},":",{"type":142,"tag":412,"props":413,"children":418},"pre",{"className":414,"code":415,"filename":416,"language":417,"meta":136,"style":136},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  image: {\n    // Options\n  }\n})\n","nuxt.config.ts","ts",[419],{"type":142,"tag":180,"props":420,"children":421},{"__ignoreMap":136},[422,457,475,484,493],{"type":142,"tag":423,"props":424,"children":427},"span",{"class":425,"line":426},"line",1,[428,434,439,445,451],{"type":142,"tag":423,"props":429,"children":431},{"style":430},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[432],{"type":148,"value":433},"export",{"type":142,"tag":423,"props":435,"children":436},{"style":430},[437],{"type":148,"value":438}," default",{"type":142,"tag":423,"props":440,"children":442},{"style":441},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[443],{"type":148,"value":444}," defineNuxtConfig",{"type":142,"tag":423,"props":446,"children":448},{"style":447},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[449],{"type":148,"value":450},"(",{"type":142,"tag":423,"props":452,"children":454},{"style":453},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[455],{"type":148,"value":456},"{\n",{"type":142,"tag":423,"props":458,"children":459},{"class":425,"line":372},[460,466,470],{"type":142,"tag":423,"props":461,"children":463},{"style":462},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[464],{"type":148,"value":465},"  image",{"type":142,"tag":423,"props":467,"children":468},{"style":453},[469],{"type":148,"value":410},{"type":142,"tag":423,"props":471,"children":472},{"style":453},[473],{"type":148,"value":474}," {\n",{"type":142,"tag":423,"props":476,"children":477},{"class":425,"line":378},[478],{"type":142,"tag":423,"props":479,"children":481},{"style":480},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[482],{"type":148,"value":483},"    // Options\n",{"type":142,"tag":423,"props":485,"children":487},{"class":425,"line":486},4,[488],{"type":142,"tag":423,"props":489,"children":490},{"style":453},[491],{"type":148,"value":492},"  }\n",{"type":142,"tag":423,"props":494,"children":496},{"class":425,"line":495},5,[497,502],{"type":142,"tag":423,"props":498,"children":499},{"style":453},[500],{"type":148,"value":501},"}",{"type":142,"tag":423,"props":503,"children":504},{"style":447},[505],{"type":148,"value":506},")\n",{"type":142,"tag":143,"props":508,"children":510},{"id":509},"inject",[511],{"type":142,"tag":180,"props":512,"children":513},{"className":136},[514],{"type":148,"value":509},{"type":142,"tag":151,"props":516,"children":517},{},[518,520,525],{"type":148,"value":519},"By default Nuxt Image v1 adopts a composable approach. If you do not use the components no additional code will be added to your bundle. But if you wish to globally initialize an ",{"type":142,"tag":180,"props":521,"children":522},{"className":136},[523],{"type":148,"value":524},"$img",{"type":148,"value":526}," helper that will be available throughout your application, you can do so.",{"type":142,"tag":412,"props":528,"children":530},{"className":414,"code":529,"filename":416,"language":417,"meta":136,"style":136},"export default defineNuxtConfig({\n  image: {\n    inject: true\n  }\n})\n",[531],{"type":142,"tag":180,"props":532,"children":533},{"__ignoreMap":136},[534,557,572,590,597],{"type":142,"tag":423,"props":535,"children":536},{"class":425,"line":426},[537,541,545,549,553],{"type":142,"tag":423,"props":538,"children":539},{"style":430},[540],{"type":148,"value":433},{"type":142,"tag":423,"props":542,"children":543},{"style":430},[544],{"type":148,"value":438},{"type":142,"tag":423,"props":546,"children":547},{"style":441},[548],{"type":148,"value":444},{"type":142,"tag":423,"props":550,"children":551},{"style":447},[552],{"type":148,"value":450},{"type":142,"tag":423,"props":554,"children":555},{"style":453},[556],{"type":148,"value":456},{"type":142,"tag":423,"props":558,"children":559},{"class":425,"line":372},[560,564,568],{"type":142,"tag":423,"props":561,"children":562},{"style":462},[563],{"type":148,"value":465},{"type":142,"tag":423,"props":565,"children":566},{"style":453},[567],{"type":148,"value":410},{"type":142,"tag":423,"props":569,"children":570},{"style":453},[571],{"type":148,"value":474},{"type":142,"tag":423,"props":573,"children":574},{"class":425,"line":378},[575,580,584],{"type":142,"tag":423,"props":576,"children":577},{"style":462},[578],{"type":148,"value":579},"    inject",{"type":142,"tag":423,"props":581,"children":582},{"style":453},[583],{"type":148,"value":410},{"type":142,"tag":423,"props":585,"children":587},{"style":586},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[588],{"type":148,"value":589}," true\n",{"type":142,"tag":423,"props":591,"children":592},{"class":425,"line":486},[593],{"type":142,"tag":423,"props":594,"children":595},{"style":453},[596],{"type":148,"value":492},{"type":142,"tag":423,"props":598,"children":599},{"class":425,"line":495},[600,604],{"type":142,"tag":423,"props":601,"children":602},{"style":453},[603],{"type":148,"value":501},{"type":142,"tag":423,"props":605,"children":606},{"style":447},[607],{"type":148,"value":506},{"type":142,"tag":143,"props":609,"children":611},{"id":610},"quality",[612],{"type":142,"tag":180,"props":613,"children":614},{"className":136},[615],{"type":148,"value":610},{"type":142,"tag":151,"props":617,"children":618},{},[619],{"type":148,"value":620},"The quality for the generated image(s).",{"type":142,"tag":151,"props":622,"children":623},{},[624,626],{"type":148,"value":625},"You can also override this option at the component level by using the ",{"type":142,"tag":167,"props":627,"children":629},{"href":628},"/usage/nuxt-img#quality",[630,634],{"type":142,"tag":180,"props":631,"children":632},{"className":136},[633],{"type":148,"value":610},{"type":148,"value":635}," prop.",{"type":142,"tag":412,"props":637,"children":639},{"className":414,"code":638,"filename":416,"language":417,"meta":136,"style":136},"export default defineNuxtConfig({\n  image: {\n    quality: 80,\n  }\n})\n",[640],{"type":142,"tag":180,"props":641,"children":642},{"__ignoreMap":136},[643,666,681,704,711],{"type":142,"tag":423,"props":644,"children":645},{"class":425,"line":426},[646,650,654,658,662],{"type":142,"tag":423,"props":647,"children":648},{"style":430},[649],{"type":148,"value":433},{"type":142,"tag":423,"props":651,"children":652},{"style":430},[653],{"type":148,"value":438},{"type":142,"tag":423,"props":655,"children":656},{"style":441},[657],{"type":148,"value":444},{"type":142,"tag":423,"props":659,"children":660},{"style":447},[661],{"type":148,"value":450},{"type":142,"tag":423,"props":663,"children":664},{"style":453},[665],{"type":148,"value":456},{"type":142,"tag":423,"props":667,"children":668},{"class":425,"line":372},[669,673,677],{"type":142,"tag":423,"props":670,"children":671},{"style":462},[672],{"type":148,"value":465},{"type":142,"tag":423,"props":674,"children":675},{"style":453},[676],{"type":148,"value":410},{"type":142,"tag":423,"props":678,"children":679},{"style":453},[680],{"type":148,"value":474},{"type":142,"tag":423,"props":682,"children":683},{"class":425,"line":378},[684,689,693,699],{"type":142,"tag":423,"props":685,"children":686},{"style":462},[687],{"type":148,"value":688},"    quality",{"type":142,"tag":423,"props":690,"children":691},{"style":453},[692],{"type":148,"value":410},{"type":142,"tag":423,"props":694,"children":696},{"style":695},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[697],{"type":148,"value":698}," 80",{"type":142,"tag":423,"props":700,"children":701},{"style":453},[702],{"type":148,"value":703},",\n",{"type":142,"tag":423,"props":705,"children":706},{"class":425,"line":486},[707],{"type":142,"tag":423,"props":708,"children":709},{"style":453},[710],{"type":148,"value":492},{"type":142,"tag":423,"props":712,"children":713},{"class":425,"line":495},[714,718],{"type":142,"tag":423,"props":715,"children":716},{"style":453},[717],{"type":148,"value":501},{"type":142,"tag":423,"props":719,"children":720},{"style":447},[721],{"type":148,"value":506},{"type":142,"tag":143,"props":723,"children":725},{"id":724},"format",[726],{"type":142,"tag":180,"props":727,"children":728},{"className":136},[729],{"type":148,"value":724},{"type":142,"tag":151,"props":731,"children":732},{},[733,735],{"type":148,"value":734},"Default: ",{"type":142,"tag":180,"props":736,"children":737},{"className":136},[738],{"type":148,"value":739},"['webp']",{"type":142,"tag":151,"props":741,"children":742},{},[743,745,749,751,756,758,763,764,769,770,775,776,781,783,788,790,795],{"type":148,"value":744},"You can use this option to configure the default format for your images used by ",{"type":142,"tag":180,"props":746,"children":747},{"className":136},[748],{"type":148,"value":28},{"type":148,"value":750},". The available formats are ",{"type":142,"tag":180,"props":752,"children":753},{"className":136},[754],{"type":148,"value":755},"webp",{"type":148,"value":757},", ",{"type":142,"tag":180,"props":759,"children":760},{"className":136},[761],{"type":148,"value":762},"avif",{"type":148,"value":757},{"type":142,"tag":180,"props":765,"children":766},{"className":136},[767],{"type":148,"value":768},"jpeg",{"type":148,"value":757},{"type":142,"tag":180,"props":771,"children":772},{"className":136},[773],{"type":148,"value":774},"jpg",{"type":148,"value":757},{"type":142,"tag":180,"props":777,"children":778},{"className":136},[779],{"type":148,"value":780},"png",{"type":148,"value":782},", and ",{"type":142,"tag":180,"props":784,"children":785},{"className":136},[786],{"type":148,"value":787},"gif",{"type":148,"value":789},". The order of the formats is important, as the first format that is supported by the browser will be used. You can pass multiple values like ",{"type":142,"tag":180,"props":791,"children":792},{"className":136},[793],{"type":148,"value":794},"['avif', 'webp']",{"type":148,"value":173},{"type":142,"tag":151,"props":797,"children":798},{},[799,800],{"type":148,"value":625},{"type":142,"tag":167,"props":801,"children":803},{"href":802},"/usage/nuxt-picture#format",[804,808],{"type":142,"tag":180,"props":805,"children":806},{"className":136},[807],{"type":148,"value":724},{"type":148,"value":635},{"type":142,"tag":412,"props":810,"children":812},{"className":414,"code":811,"filename":416,"language":417,"meta":136,"style":136},"export default defineNuxtConfig({\n  image: {\n    format: ['webp']\n  }\n})\n",[813],{"type":142,"tag":180,"props":814,"children":815},{"__ignoreMap":136},[816,839,854,890,897],{"type":142,"tag":423,"props":817,"children":818},{"class":425,"line":426},[819,823,827,831,835],{"type":142,"tag":423,"props":820,"children":821},{"style":430},[822],{"type":148,"value":433},{"type":142,"tag":423,"props":824,"children":825},{"style":430},[826],{"type":148,"value":438},{"type":142,"tag":423,"props":828,"children":829},{"style":441},[830],{"type":148,"value":444},{"type":142,"tag":423,"props":832,"children":833},{"style":447},[834],{"type":148,"value":450},{"type":142,"tag":423,"props":836,"children":837},{"style":453},[838],{"type":148,"value":456},{"type":142,"tag":423,"props":840,"children":841},{"class":425,"line":372},[842,846,850],{"type":142,"tag":423,"props":843,"children":844},{"style":462},[845],{"type":148,"value":465},{"type":142,"tag":423,"props":847,"children":848},{"style":453},[849],{"type":148,"value":410},{"type":142,"tag":423,"props":851,"children":852},{"style":453},[853],{"type":148,"value":474},{"type":142,"tag":423,"props":855,"children":856},{"class":425,"line":378},[857,862,866,871,876,881,885],{"type":142,"tag":423,"props":858,"children":859},{"style":462},[860],{"type":148,"value":861},"    format",{"type":142,"tag":423,"props":863,"children":864},{"style":453},[865],{"type":148,"value":410},{"type":142,"tag":423,"props":867,"children":868},{"style":447},[869],{"type":148,"value":870}," [",{"type":142,"tag":423,"props":872,"children":873},{"style":453},[874],{"type":148,"value":875},"'",{"type":142,"tag":423,"props":877,"children":879},{"style":878},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[880],{"type":148,"value":755},{"type":142,"tag":423,"props":882,"children":883},{"style":453},[884],{"type":148,"value":875},{"type":142,"tag":423,"props":886,"children":887},{"style":447},[888],{"type":148,"value":889},"]\n",{"type":142,"tag":423,"props":891,"children":892},{"class":425,"line":486},[893],{"type":142,"tag":423,"props":894,"children":895},{"style":453},[896],{"type":148,"value":492},{"type":142,"tag":423,"props":898,"children":899},{"class":425,"line":495},[900,904],{"type":142,"tag":423,"props":901,"children":902},{"style":453},[903],{"type":148,"value":501},{"type":142,"tag":423,"props":905,"children":906},{"style":447},[907],{"type":148,"value":506},{"type":142,"tag":143,"props":909,"children":911},{"id":910},"screens",[912],{"type":142,"tag":180,"props":913,"children":914},{"className":136},[915],{"type":148,"value":910},{"type":142,"tag":151,"props":917,"children":918},{},[919],{"type":148,"value":920},"List of predefined screen sizes.",{"type":142,"tag":151,"props":922,"children":923},{},[924,926,935],{"type":148,"value":925},"These sizes will be used to generate resized and optimized versions of an image (for example, with the ",{"type":142,"tag":167,"props":927,"children":929},{"href":928},"/usage/nuxt-img#sizes",[930],{"type":142,"tag":180,"props":931,"children":932},{"className":136},[933],{"type":148,"value":934},"sizes",{"type":148,"value":936}," modifier).",{"type":142,"tag":412,"props":938,"children":940},{"className":414,"code":939,"filename":416,"language":417,"meta":136,"style":136},"export default defineNuxtConfig({\n  image: {\n    // The screen sizes predefined by `@nuxt/image`:\n    screens: {\n      'xs': 320,\n      'sm': 640,\n      'md': 768,\n      'lg': 1024,\n      'xl': 1280,\n      'xxl': 1536,\n      '2xl': 1536\n    },\n  }\n})\n",[941],{"type":142,"tag":180,"props":942,"children":943},{"__ignoreMap":136},[944,967,982,990,1006,1036,1066,1095,1125,1155,1185,1211,1220,1228],{"type":142,"tag":423,"props":945,"children":946},{"class":425,"line":426},[947,951,955,959,963],{"type":142,"tag":423,"props":948,"children":949},{"style":430},[950],{"type":148,"value":433},{"type":142,"tag":423,"props":952,"children":953},{"style":430},[954],{"type":148,"value":438},{"type":142,"tag":423,"props":956,"children":957},{"style":441},[958],{"type":148,"value":444},{"type":142,"tag":423,"props":960,"children":961},{"style":447},[962],{"type":148,"value":450},{"type":142,"tag":423,"props":964,"children":965},{"style":453},[966],{"type":148,"value":456},{"type":142,"tag":423,"props":968,"children":969},{"class":425,"line":372},[970,974,978],{"type":142,"tag":423,"props":971,"children":972},{"style":462},[973],{"type":148,"value":465},{"type":142,"tag":423,"props":975,"children":976},{"style":453},[977],{"type":148,"value":410},{"type":142,"tag":423,"props":979,"children":980},{"style":453},[981],{"type":148,"value":474},{"type":142,"tag":423,"props":983,"children":984},{"class":425,"line":378},[985],{"type":142,"tag":423,"props":986,"children":987},{"style":480},[988],{"type":148,"value":989},"    // The screen sizes predefined by `@nuxt/image`:\n",{"type":142,"tag":423,"props":991,"children":992},{"class":425,"line":486},[993,998,1002],{"type":142,"tag":423,"props":994,"children":995},{"style":462},[996],{"type":148,"value":997},"    screens",{"type":142,"tag":423,"props":999,"children":1000},{"style":453},[1001],{"type":148,"value":410},{"type":142,"tag":423,"props":1003,"children":1004},{"style":453},[1005],{"type":148,"value":474},{"type":142,"tag":423,"props":1007,"children":1008},{"class":425,"line":495},[1009,1014,1019,1023,1027,1032],{"type":142,"tag":423,"props":1010,"children":1011},{"style":453},[1012],{"type":148,"value":1013},"      '",{"type":142,"tag":423,"props":1015,"children":1016},{"style":462},[1017],{"type":148,"value":1018},"xs",{"type":142,"tag":423,"props":1020,"children":1021},{"style":453},[1022],{"type":148,"value":875},{"type":142,"tag":423,"props":1024,"children":1025},{"style":453},[1026],{"type":148,"value":410},{"type":142,"tag":423,"props":1028,"children":1029},{"style":695},[1030],{"type":148,"value":1031}," 320",{"type":142,"tag":423,"props":1033,"children":1034},{"style":453},[1035],{"type":148,"value":703},{"type":142,"tag":423,"props":1037,"children":1039},{"class":425,"line":1038},6,[1040,1044,1049,1053,1057,1062],{"type":142,"tag":423,"props":1041,"children":1042},{"style":453},[1043],{"type":148,"value":1013},{"type":142,"tag":423,"props":1045,"children":1046},{"style":462},[1047],{"type":148,"value":1048},"sm",{"type":142,"tag":423,"props":1050,"children":1051},{"style":453},[1052],{"type":148,"value":875},{"type":142,"tag":423,"props":1054,"children":1055},{"style":453},[1056],{"type":148,"value":410},{"type":142,"tag":423,"props":1058,"children":1059},{"style":695},[1060],{"type":148,"value":1061}," 640",{"type":142,"tag":423,"props":1063,"children":1064},{"style":453},[1065],{"type":148,"value":703},{"type":142,"tag":423,"props":1067,"children":1069},{"class":425,"line":1068},7,[1070,1074,1078,1082,1086,1091],{"type":142,"tag":423,"props":1071,"children":1072},{"style":453},[1073],{"type":148,"value":1013},{"type":142,"tag":423,"props":1075,"children":1076},{"style":462},[1077],{"type":148,"value":386},{"type":142,"tag":423,"props":1079,"children":1080},{"style":453},[1081],{"type":148,"value":875},{"type":142,"tag":423,"props":1083,"children":1084},{"style":453},[1085],{"type":148,"value":410},{"type":142,"tag":423,"props":1087,"children":1088},{"style":695},[1089],{"type":148,"value":1090}," 768",{"type":142,"tag":423,"props":1092,"children":1093},{"style":453},[1094],{"type":148,"value":703},{"type":142,"tag":423,"props":1096,"children":1098},{"class":425,"line":1097},8,[1099,1103,1108,1112,1116,1121],{"type":142,"tag":423,"props":1100,"children":1101},{"style":453},[1102],{"type":148,"value":1013},{"type":142,"tag":423,"props":1104,"children":1105},{"style":462},[1106],{"type":148,"value":1107},"lg",{"type":142,"tag":423,"props":1109,"children":1110},{"style":453},[1111],{"type":148,"value":875},{"type":142,"tag":423,"props":1113,"children":1114},{"style":453},[1115],{"type":148,"value":410},{"type":142,"tag":423,"props":1117,"children":1118},{"style":695},[1119],{"type":148,"value":1120}," 1024",{"type":142,"tag":423,"props":1122,"children":1123},{"style":453},[1124],{"type":148,"value":703},{"type":142,"tag":423,"props":1126,"children":1128},{"class":425,"line":1127},9,[1129,1133,1138,1142,1146,1151],{"type":142,"tag":423,"props":1130,"children":1131},{"style":453},[1132],{"type":148,"value":1013},{"type":142,"tag":423,"props":1134,"children":1135},{"style":462},[1136],{"type":148,"value":1137},"xl",{"type":142,"tag":423,"props":1139,"children":1140},{"style":453},[1141],{"type":148,"value":875},{"type":142,"tag":423,"props":1143,"children":1144},{"style":453},[1145],{"type":148,"value":410},{"type":142,"tag":423,"props":1147,"children":1148},{"style":695},[1149],{"type":148,"value":1150}," 1280",{"type":142,"tag":423,"props":1152,"children":1153},{"style":453},[1154],{"type":148,"value":703},{"type":142,"tag":423,"props":1156,"children":1158},{"class":425,"line":1157},10,[1159,1163,1168,1172,1176,1181],{"type":142,"tag":423,"props":1160,"children":1161},{"style":453},[1162],{"type":148,"value":1013},{"type":142,"tag":423,"props":1164,"children":1165},{"style":462},[1166],{"type":148,"value":1167},"xxl",{"type":142,"tag":423,"props":1169,"children":1170},{"style":453},[1171],{"type":148,"value":875},{"type":142,"tag":423,"props":1173,"children":1174},{"style":453},[1175],{"type":148,"value":410},{"type":142,"tag":423,"props":1177,"children":1178},{"style":695},[1179],{"type":148,"value":1180}," 1536",{"type":142,"tag":423,"props":1182,"children":1183},{"style":453},[1184],{"type":148,"value":703},{"type":142,"tag":423,"props":1186,"children":1188},{"class":425,"line":1187},11,[1189,1193,1198,1202,1206],{"type":142,"tag":423,"props":1190,"children":1191},{"style":453},[1192],{"type":148,"value":1013},{"type":142,"tag":423,"props":1194,"children":1195},{"style":462},[1196],{"type":148,"value":1197},"2xl",{"type":142,"tag":423,"props":1199,"children":1200},{"style":453},[1201],{"type":148,"value":875},{"type":142,"tag":423,"props":1203,"children":1204},{"style":453},[1205],{"type":148,"value":410},{"type":142,"tag":423,"props":1207,"children":1208},{"style":695},[1209],{"type":148,"value":1210}," 1536\n",{"type":142,"tag":423,"props":1212,"children":1214},{"class":425,"line":1213},12,[1215],{"type":142,"tag":423,"props":1216,"children":1217},{"style":453},[1218],{"type":148,"value":1219},"    },\n",{"type":142,"tag":423,"props":1221,"children":1223},{"class":425,"line":1222},13,[1224],{"type":142,"tag":423,"props":1225,"children":1226},{"style":453},[1227],{"type":148,"value":492},{"type":142,"tag":423,"props":1229,"children":1231},{"class":425,"line":1230},14,[1232,1236],{"type":142,"tag":423,"props":1233,"children":1234},{"style":453},[1235],{"type":148,"value":501},{"type":142,"tag":423,"props":1237,"children":1238},{"style":447},[1239],{"type":148,"value":506},{"type":142,"tag":275,"props":1241,"children":1242},{},[1243],{"type":142,"tag":151,"props":1244,"children":1245},{},[1246,1248,1255,1257,1261],{"type":148,"value":1247},"We share the same naming and sizes as ",{"type":142,"tag":167,"props":1249,"children":1252},{"href":1250,"rel":1251},"https://tailwindcss.com/docs/responsive-design",[269],[1253],{"type":148,"value":1254},"Tailwind CSS",{"type":148,"value":1256}," and we added the ",{"type":142,"tag":180,"props":1258,"children":1259},{"className":136},[1260],{"type":148,"value":1018},{"type":148,"value":1262}," property.",{"type":142,"tag":143,"props":1264,"children":1265},{"id":317},[1266],{"type":142,"tag":180,"props":1267,"children":1268},{"className":136},[1269],{"type":148,"value":317},{"type":142,"tag":151,"props":1271,"children":1272},{},[1273],{"type":148,"value":1274},"To enable image optimization on an external website, specify which domains are allowed to be optimized. This option will be used to detect whether a remote image should be optimized or not. This is needed to ensure that external urls can't be abused.",{"type":142,"tag":412,"props":1276,"children":1278},{"className":414,"code":1277,"filename":416,"language":417,"meta":136,"style":136},"export default defineNuxtConfig({\n  image: {\n    domains: ['nuxtjs.org']\n  }\n})\n",[1279],{"type":142,"tag":180,"props":1280,"children":1281},{"__ignoreMap":136},[1282,1305,1320,1353,1360],{"type":142,"tag":423,"props":1283,"children":1284},{"class":425,"line":426},[1285,1289,1293,1297,1301],{"type":142,"tag":423,"props":1286,"children":1287},{"style":430},[1288],{"type":148,"value":433},{"type":142,"tag":423,"props":1290,"children":1291},{"style":430},[1292],{"type":148,"value":438},{"type":142,"tag":423,"props":1294,"children":1295},{"style":441},[1296],{"type":148,"value":444},{"type":142,"tag":423,"props":1298,"children":1299},{"style":447},[1300],{"type":148,"value":450},{"type":142,"tag":423,"props":1302,"children":1303},{"style":453},[1304],{"type":148,"value":456},{"type":142,"tag":423,"props":1306,"children":1307},{"class":425,"line":372},[1308,1312,1316],{"type":142,"tag":423,"props":1309,"children":1310},{"style":462},[1311],{"type":148,"value":465},{"type":142,"tag":423,"props":1313,"children":1314},{"style":453},[1315],{"type":148,"value":410},{"type":142,"tag":423,"props":1317,"children":1318},{"style":453},[1319],{"type":148,"value":474},{"type":142,"tag":423,"props":1321,"children":1322},{"class":425,"line":378},[1323,1328,1332,1336,1340,1345,1349],{"type":142,"tag":423,"props":1324,"children":1325},{"style":462},[1326],{"type":148,"value":1327},"    domains",{"type":142,"tag":423,"props":1329,"children":1330},{"style":453},[1331],{"type":148,"value":410},{"type":142,"tag":423,"props":1333,"children":1334},{"style":447},[1335],{"type":148,"value":870},{"type":142,"tag":423,"props":1337,"children":1338},{"style":453},[1339],{"type":148,"value":875},{"type":142,"tag":423,"props":1341,"children":1342},{"style":878},[1343],{"type":148,"value":1344},"nuxtjs.org",{"type":142,"tag":423,"props":1346,"children":1347},{"style":453},[1348],{"type":148,"value":875},{"type":142,"tag":423,"props":1350,"children":1351},{"style":447},[1352],{"type":148,"value":889},{"type":142,"tag":423,"props":1354,"children":1355},{"class":425,"line":486},[1356],{"type":142,"tag":423,"props":1357,"children":1358},{"style":453},[1359],{"type":148,"value":492},{"type":142,"tag":423,"props":1361,"children":1362},{"class":425,"line":495},[1363,1367],{"type":142,"tag":423,"props":1364,"children":1365},{"style":453},[1366],{"type":148,"value":501},{"type":142,"tag":423,"props":1368,"children":1369},{"style":447},[1370],{"type":148,"value":506},{"type":142,"tag":143,"props":1372,"children":1374},{"id":1373},"presets",[1375],{"type":142,"tag":180,"props":1376,"children":1377},{"className":136},[1378],{"type":148,"value":1373},{"type":142,"tag":151,"props":1380,"children":1381},{},[1382],{"type":148,"value":1383},"Presets are collections of pre-defined configurations for your projects. Presets will help you to unify images all over your project.",{"type":142,"tag":1385,"props":1386,"children":1387},"code-group",{},[1388,1590],{"type":142,"tag":412,"props":1389,"children":1391},{"className":414,"code":1390,"filename":416,"language":417,"meta":136,"style":136},"export default defineNuxtConfig({\n  image: {\n    presets: {\n      avatar: {\n        modifiers: {\n          format: 'jpg',\n          width: 50,\n          height: 50\n        }\n      }\n    }\n  }\n})\n",[1392],{"type":142,"tag":180,"props":1393,"children":1394},{"__ignoreMap":136},[1395,1418,1433,1449,1465,1481,1510,1531,1548,1556,1564,1572,1579],{"type":142,"tag":423,"props":1396,"children":1397},{"class":425,"line":426},[1398,1402,1406,1410,1414],{"type":142,"tag":423,"props":1399,"children":1400},{"style":430},[1401],{"type":148,"value":433},{"type":142,"tag":423,"props":1403,"children":1404},{"style":430},[1405],{"type":148,"value":438},{"type":142,"tag":423,"props":1407,"children":1408},{"style":441},[1409],{"type":148,"value":444},{"type":142,"tag":423,"props":1411,"children":1412},{"style":447},[1413],{"type":148,"value":450},{"type":142,"tag":423,"props":1415,"children":1416},{"style":453},[1417],{"type":148,"value":456},{"type":142,"tag":423,"props":1419,"children":1420},{"class":425,"line":372},[1421,1425,1429],{"type":142,"tag":423,"props":1422,"children":1423},{"style":462},[1424],{"type":148,"value":465},{"type":142,"tag":423,"props":1426,"children":1427},{"style":453},[1428],{"type":148,"value":410},{"type":142,"tag":423,"props":1430,"children":1431},{"style":453},[1432],{"type":148,"value":474},{"type":142,"tag":423,"props":1434,"children":1435},{"class":425,"line":378},[1436,1441,1445],{"type":142,"tag":423,"props":1437,"children":1438},{"style":462},[1439],{"type":148,"value":1440},"    presets",{"type":142,"tag":423,"props":1442,"children":1443},{"style":453},[1444],{"type":148,"value":410},{"type":142,"tag":423,"props":1446,"children":1447},{"style":453},[1448],{"type":148,"value":474},{"type":142,"tag":423,"props":1450,"children":1451},{"class":425,"line":486},[1452,1457,1461],{"type":142,"tag":423,"props":1453,"children":1454},{"style":462},[1455],{"type":148,"value":1456},"      avatar",{"type":142,"tag":423,"props":1458,"children":1459},{"style":453},[1460],{"type":148,"value":410},{"type":142,"tag":423,"props":1462,"children":1463},{"style":453},[1464],{"type":148,"value":474},{"type":142,"tag":423,"props":1466,"children":1467},{"class":425,"line":495},[1468,1473,1477],{"type":142,"tag":423,"props":1469,"children":1470},{"style":462},[1471],{"type":148,"value":1472},"        modifiers",{"type":142,"tag":423,"props":1474,"children":1475},{"style":453},[1476],{"type":148,"value":410},{"type":142,"tag":423,"props":1478,"children":1479},{"style":453},[1480],{"type":148,"value":474},{"type":142,"tag":423,"props":1482,"children":1483},{"class":425,"line":1038},[1484,1489,1493,1498,1502,1506],{"type":142,"tag":423,"props":1485,"children":1486},{"style":462},[1487],{"type":148,"value":1488},"          format",{"type":142,"tag":423,"props":1490,"children":1491},{"style":453},[1492],{"type":148,"value":410},{"type":142,"tag":423,"props":1494,"children":1495},{"style":453},[1496],{"type":148,"value":1497}," '",{"type":142,"tag":423,"props":1499,"children":1500},{"style":878},[1501],{"type":148,"value":774},{"type":142,"tag":423,"props":1503,"children":1504},{"style":453},[1505],{"type":148,"value":875},{"type":142,"tag":423,"props":1507,"children":1508},{"style":453},[1509],{"type":148,"value":703},{"type":142,"tag":423,"props":1511,"children":1512},{"class":425,"line":1068},[1513,1518,1522,1527],{"type":142,"tag":423,"props":1514,"children":1515},{"style":462},[1516],{"type":148,"value":1517},"          width",{"type":142,"tag":423,"props":1519,"children":1520},{"style":453},[1521],{"type":148,"value":410},{"type":142,"tag":423,"props":1523,"children":1524},{"style":695},[1525],{"type":148,"value":1526}," 50",{"type":142,"tag":423,"props":1528,"children":1529},{"style":453},[1530],{"type":148,"value":703},{"type":142,"tag":423,"props":1532,"children":1533},{"class":425,"line":1097},[1534,1539,1543],{"type":142,"tag":423,"props":1535,"children":1536},{"style":462},[1537],{"type":148,"value":1538},"          height",{"type":142,"tag":423,"props":1540,"children":1541},{"style":453},[1542],{"type":148,"value":410},{"type":142,"tag":423,"props":1544,"children":1545},{"style":695},[1546],{"type":148,"value":1547}," 50\n",{"type":142,"tag":423,"props":1549,"children":1550},{"class":425,"line":1127},[1551],{"type":142,"tag":423,"props":1552,"children":1553},{"style":453},[1554],{"type":148,"value":1555},"        }\n",{"type":142,"tag":423,"props":1557,"children":1558},{"class":425,"line":1157},[1559],{"type":142,"tag":423,"props":1560,"children":1561},{"style":453},[1562],{"type":148,"value":1563},"      }\n",{"type":142,"tag":423,"props":1565,"children":1566},{"class":425,"line":1187},[1567],{"type":142,"tag":423,"props":1568,"children":1569},{"style":453},[1570],{"type":148,"value":1571},"    }\n",{"type":142,"tag":423,"props":1573,"children":1574},{"class":425,"line":1213},[1575],{"type":142,"tag":423,"props":1576,"children":1577},{"style":453},[1578],{"type":148,"value":492},{"type":142,"tag":423,"props":1580,"children":1581},{"class":425,"line":1222},[1582,1586],{"type":142,"tag":423,"props":1583,"children":1584},{"style":453},[1585],{"type":148,"value":501},{"type":142,"tag":423,"props":1587,"children":1588},{"style":447},[1589],{"type":148,"value":506},{"type":142,"tag":412,"props":1591,"children":1596},{"className":1592,"code":1593,"filename":1594,"language":1595,"meta":136,"style":136},"language-html shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Ctemplate>\n  \u003CNuxtImg preset=\"avatar\" src=\"/nuxt-icon.png\" />\n\u003C/template>\n","index.vue","html",[1597],{"type":142,"tag":180,"props":1598,"children":1599},{"__ignoreMap":136},[1600,1618,1683],{"type":142,"tag":423,"props":1601,"children":1602},{"class":425,"line":426},[1603,1608,1613],{"type":142,"tag":423,"props":1604,"children":1605},{"style":453},[1606],{"type":148,"value":1607},"\u003C",{"type":142,"tag":423,"props":1609,"children":1610},{"style":462},[1611],{"type":148,"value":1612},"template",{"type":142,"tag":423,"props":1614,"children":1615},{"style":453},[1616],{"type":148,"value":1617},">\n",{"type":142,"tag":423,"props":1619,"children":1620},{"class":425,"line":372},[1621,1626,1631,1637,1642,1647,1652,1656,1661,1665,1669,1674,1678],{"type":142,"tag":423,"props":1622,"children":1623},{"style":453},[1624],{"type":148,"value":1625},"  \u003C",{"type":142,"tag":423,"props":1627,"children":1628},{"style":462},[1629],{"type":148,"value":1630},"NuxtImg",{"type":142,"tag":423,"props":1632,"children":1634},{"style":1633},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1635],{"type":148,"value":1636}," preset",{"type":142,"tag":423,"props":1638,"children":1639},{"style":453},[1640],{"type":148,"value":1641},"=",{"type":142,"tag":423,"props":1643,"children":1644},{"style":453},[1645],{"type":148,"value":1646},"\"",{"type":142,"tag":423,"props":1648,"children":1649},{"style":878},[1650],{"type":148,"value":1651},"avatar",{"type":142,"tag":423,"props":1653,"children":1654},{"style":453},[1655],{"type":148,"value":1646},{"type":142,"tag":423,"props":1657,"children":1658},{"style":1633},[1659],{"type":148,"value":1660}," src",{"type":142,"tag":423,"props":1662,"children":1663},{"style":453},[1664],{"type":148,"value":1641},{"type":142,"tag":423,"props":1666,"children":1667},{"style":453},[1668],{"type":148,"value":1646},{"type":142,"tag":423,"props":1670,"children":1671},{"style":878},[1672],{"type":148,"value":1673},"/nuxt-icon.png",{"type":142,"tag":423,"props":1675,"children":1676},{"style":453},[1677],{"type":148,"value":1646},{"type":142,"tag":423,"props":1679,"children":1680},{"style":453},[1681],{"type":148,"value":1682}," />\n",{"type":142,"tag":423,"props":1684,"children":1685},{"class":425,"line":378},[1686,1691,1695],{"type":142,"tag":423,"props":1687,"children":1688},{"style":453},[1689],{"type":148,"value":1690},"\u003C/",{"type":142,"tag":423,"props":1692,"children":1693},{"style":462},[1694],{"type":148,"value":1612},{"type":142,"tag":423,"props":1696,"children":1697},{"style":453},[1698],{"type":148,"value":1617},{"type":142,"tag":143,"props":1700,"children":1702},{"id":1701},"providers",[1703],{"type":142,"tag":180,"props":1704,"children":1705},{"className":136},[1706],{"type":148,"value":1701},{"type":142,"tag":151,"props":1708,"children":1709},{},[1710,1712,1717,1719,1723],{"type":148,"value":1711},"In order to create and use a ",{"type":142,"tag":167,"props":1713,"children":1714},{"href":129},[1715],{"type":148,"value":1716},"custom provider",{"type":148,"value":1718},", you need to use the ",{"type":142,"tag":180,"props":1720,"children":1721},{"className":136},[1722],{"type":148,"value":1701},{"type":148,"value":1724}," option and define your custom providers.",{"type":142,"tag":1385,"props":1726,"children":1727},{},[1728,1883],{"type":142,"tag":412,"props":1729,"children":1731},{"className":414,"code":1730,"filename":416,"language":417,"meta":136,"style":136},"export default defineNuxtConfig({\n  image: {\n    providers: {\n      random: {\n        provider: '~/providers/random',\n        options: {}\n      }\n    }\n  }\n})\n",[1732],{"type":142,"tag":180,"props":1733,"children":1734},{"__ignoreMap":136},[1735,1758,1773,1789,1805,1834,1851,1858,1865,1872],{"type":142,"tag":423,"props":1736,"children":1737},{"class":425,"line":426},[1738,1742,1746,1750,1754],{"type":142,"tag":423,"props":1739,"children":1740},{"style":430},[1741],{"type":148,"value":433},{"type":142,"tag":423,"props":1743,"children":1744},{"style":430},[1745],{"type":148,"value":438},{"type":142,"tag":423,"props":1747,"children":1748},{"style":441},[1749],{"type":148,"value":444},{"type":142,"tag":423,"props":1751,"children":1752},{"style":447},[1753],{"type":148,"value":450},{"type":142,"tag":423,"props":1755,"children":1756},{"style":453},[1757],{"type":148,"value":456},{"type":142,"tag":423,"props":1759,"children":1760},{"class":425,"line":372},[1761,1765,1769],{"type":142,"tag":423,"props":1762,"children":1763},{"style":462},[1764],{"type":148,"value":465},{"type":142,"tag":423,"props":1766,"children":1767},{"style":453},[1768],{"type":148,"value":410},{"type":142,"tag":423,"props":1770,"children":1771},{"style":453},[1772],{"type":148,"value":474},{"type":142,"tag":423,"props":1774,"children":1775},{"class":425,"line":378},[1776,1781,1785],{"type":142,"tag":423,"props":1777,"children":1778},{"style":462},[1779],{"type":148,"value":1780},"    providers",{"type":142,"tag":423,"props":1782,"children":1783},{"style":453},[1784],{"type":148,"value":410},{"type":142,"tag":423,"props":1786,"children":1787},{"style":453},[1788],{"type":148,"value":474},{"type":142,"tag":423,"props":1790,"children":1791},{"class":425,"line":486},[1792,1797,1801],{"type":142,"tag":423,"props":1793,"children":1794},{"style":462},[1795],{"type":148,"value":1796},"      random",{"type":142,"tag":423,"props":1798,"children":1799},{"style":453},[1800],{"type":148,"value":410},{"type":142,"tag":423,"props":1802,"children":1803},{"style":453},[1804],{"type":148,"value":474},{"type":142,"tag":423,"props":1806,"children":1807},{"class":425,"line":495},[1808,1813,1817,1821,1826,1830],{"type":142,"tag":423,"props":1809,"children":1810},{"style":462},[1811],{"type":148,"value":1812},"        provider",{"type":142,"tag":423,"props":1814,"children":1815},{"style":453},[1816],{"type":148,"value":410},{"type":142,"tag":423,"props":1818,"children":1819},{"style":453},[1820],{"type":148,"value":1497},{"type":142,"tag":423,"props":1822,"children":1823},{"style":878},[1824],{"type":148,"value":1825},"~/providers/random",{"type":142,"tag":423,"props":1827,"children":1828},{"style":453},[1829],{"type":148,"value":875},{"type":142,"tag":423,"props":1831,"children":1832},{"style":453},[1833],{"type":148,"value":703},{"type":142,"tag":423,"props":1835,"children":1836},{"class":425,"line":1038},[1837,1842,1846],{"type":142,"tag":423,"props":1838,"children":1839},{"style":462},[1840],{"type":148,"value":1841},"        options",{"type":142,"tag":423,"props":1843,"children":1844},{"style":453},[1845],{"type":148,"value":410},{"type":142,"tag":423,"props":1847,"children":1848},{"style":453},[1849],{"type":148,"value":1850}," {}\n",{"type":142,"tag":423,"props":1852,"children":1853},{"class":425,"line":1068},[1854],{"type":142,"tag":423,"props":1855,"children":1856},{"style":453},[1857],{"type":148,"value":1563},{"type":142,"tag":423,"props":1859,"children":1860},{"class":425,"line":1097},[1861],{"type":142,"tag":423,"props":1862,"children":1863},{"style":453},[1864],{"type":148,"value":1571},{"type":142,"tag":423,"props":1866,"children":1867},{"class":425,"line":1127},[1868],{"type":142,"tag":423,"props":1869,"children":1870},{"style":453},[1871],{"type":148,"value":492},{"type":142,"tag":423,"props":1873,"children":1874},{"class":425,"line":1157},[1875,1879],{"type":142,"tag":423,"props":1876,"children":1877},{"style":453},[1878],{"type":148,"value":501},{"type":142,"tag":423,"props":1880,"children":1881},{"style":447},[1882],{"type":148,"value":506},{"type":142,"tag":412,"props":1884,"children":1888},{"className":1885,"code":1886,"filename":1594,"language":1887,"meta":136,"style":136},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Ctemplate>\n  \u003CNuxtImg provider=\"random\" src=\"main.png\" width=\"300\" height=\"169\" />\n\u003C/template>\n","vue",[1889],{"type":142,"tag":180,"props":1890,"children":1891},{"__ignoreMap":136},[1892,1907,2009],{"type":142,"tag":423,"props":1893,"children":1894},{"class":425,"line":426},[1895,1899,1903],{"type":142,"tag":423,"props":1896,"children":1897},{"style":453},[1898],{"type":148,"value":1607},{"type":142,"tag":423,"props":1900,"children":1901},{"style":462},[1902],{"type":148,"value":1612},{"type":142,"tag":423,"props":1904,"children":1905},{"style":453},[1906],{"type":148,"value":1617},{"type":142,"tag":423,"props":1908,"children":1909},{"class":425,"line":372},[1910,1914,1918,1923,1927,1931,1936,1940,1944,1948,1952,1957,1961,1966,1970,1974,1979,1983,1988,1992,1996,2001,2005],{"type":142,"tag":423,"props":1911,"children":1912},{"style":453},[1913],{"type":148,"value":1625},{"type":142,"tag":423,"props":1915,"children":1916},{"style":462},[1917],{"type":148,"value":1630},{"type":142,"tag":423,"props":1919,"children":1920},{"style":1633},[1921],{"type":148,"value":1922}," provider",{"type":142,"tag":423,"props":1924,"children":1925},{"style":453},[1926],{"type":148,"value":1641},{"type":142,"tag":423,"props":1928,"children":1929},{"style":453},[1930],{"type":148,"value":1646},{"type":142,"tag":423,"props":1932,"children":1933},{"style":878},[1934],{"type":148,"value":1935},"random",{"type":142,"tag":423,"props":1937,"children":1938},{"style":453},[1939],{"type":148,"value":1646},{"type":142,"tag":423,"props":1941,"children":1942},{"style":1633},[1943],{"type":148,"value":1660},{"type":142,"tag":423,"props":1945,"children":1946},{"style":453},[1947],{"type":148,"value":1641},{"type":142,"tag":423,"props":1949,"children":1950},{"style":453},[1951],{"type":148,"value":1646},{"type":142,"tag":423,"props":1953,"children":1954},{"style":878},[1955],{"type":148,"value":1956},"main.png",{"type":142,"tag":423,"props":1958,"children":1959},{"style":453},[1960],{"type":148,"value":1646},{"type":142,"tag":423,"props":1962,"children":1963},{"style":1633},[1964],{"type":148,"value":1965}," width",{"type":142,"tag":423,"props":1967,"children":1968},{"style":453},[1969],{"type":148,"value":1641},{"type":142,"tag":423,"props":1971,"children":1972},{"style":453},[1973],{"type":148,"value":1646},{"type":142,"tag":423,"props":1975,"children":1976},{"style":878},[1977],{"type":148,"value":1978},"300",{"type":142,"tag":423,"props":1980,"children":1981},{"style":453},[1982],{"type":148,"value":1646},{"type":142,"tag":423,"props":1984,"children":1985},{"style":1633},[1986],{"type":148,"value":1987}," height",{"type":142,"tag":423,"props":1989,"children":1990},{"style":453},[1991],{"type":148,"value":1641},{"type":142,"tag":423,"props":1993,"children":1994},{"style":453},[1995],{"type":148,"value":1646},{"type":142,"tag":423,"props":1997,"children":1998},{"style":878},[1999],{"type":148,"value":2000},"169",{"type":142,"tag":423,"props":2002,"children":2003},{"style":453},[2004],{"type":148,"value":1646},{"type":142,"tag":423,"props":2006,"children":2007},{"style":453},[2008],{"type":148,"value":1682},{"type":142,"tag":423,"props":2010,"children":2011},{"class":425,"line":378},[2012,2016,2020],{"type":142,"tag":423,"props":2013,"children":2014},{"style":453},[2015],{"type":148,"value":1690},{"type":142,"tag":423,"props":2017,"children":2018},{"style":462},[2019],{"type":148,"value":1612},{"type":142,"tag":423,"props":2021,"children":2022},{"style":453},[2023],{"type":148,"value":1617},{"type":142,"tag":143,"props":2025,"children":2027},{"id":2026},"provider",[2028],{"type":142,"tag":180,"props":2029,"children":2030},{"className":136},[2031],{"type":148,"value":2026},{"type":142,"tag":151,"props":2033,"children":2034},{},[2035,2036,2040,2042,2047,2049,2054],{"type":148,"value":734},{"type":142,"tag":180,"props":2037,"children":2038},{"className":136},[2039],{"type":148,"value":214},{"type":148,"value":2041}," (or ",{"type":142,"tag":180,"props":2043,"children":2044},{"className":136},[2045],{"type":148,"value":2046},"ipxStatic",{"type":148,"value":2048}," if used with a static nitro preset, such as if you are running ",{"type":142,"tag":180,"props":2050,"children":2051},{"className":136},[2052],{"type":148,"value":2053},"nuxt generate",{"type":148,"value":2055},")",{"type":142,"tag":151,"props":2057,"children":2058},{},[2059,2061,2065],{"type":148,"value":2060},"We can specify default provider to be used when not specified in component or when calling ",{"type":142,"tag":180,"props":2062,"children":2063},{"className":136},[2064],{"type":148,"value":524},{"type":148,"value":173},{"type":142,"tag":412,"props":2067,"children":2069},{"className":414,"code":2068,"filename":416,"language":417,"meta":136,"style":136},"export default defineNuxtConfig({\n  image: {\n    provider: 'twicpics',\n    twicpics: {\n      baseURL: 'https://nuxt-demo.twic.pics'\n    }\n  }\n})\n",[2070],{"type":142,"tag":180,"props":2071,"children":2072},{"__ignoreMap":136},[2073,2096,2111,2140,2156,2182,2189,2196],{"type":142,"tag":423,"props":2074,"children":2075},{"class":425,"line":426},[2076,2080,2084,2088,2092],{"type":142,"tag":423,"props":2077,"children":2078},{"style":430},[2079],{"type":148,"value":433},{"type":142,"tag":423,"props":2081,"children":2082},{"style":430},[2083],{"type":148,"value":438},{"type":142,"tag":423,"props":2085,"children":2086},{"style":441},[2087],{"type":148,"value":444},{"type":142,"tag":423,"props":2089,"children":2090},{"style":447},[2091],{"type":148,"value":450},{"type":142,"tag":423,"props":2093,"children":2094},{"style":453},[2095],{"type":148,"value":456},{"type":142,"tag":423,"props":2097,"children":2098},{"class":425,"line":372},[2099,2103,2107],{"type":142,"tag":423,"props":2100,"children":2101},{"style":462},[2102],{"type":148,"value":465},{"type":142,"tag":423,"props":2104,"children":2105},{"style":453},[2106],{"type":148,"value":410},{"type":142,"tag":423,"props":2108,"children":2109},{"style":453},[2110],{"type":148,"value":474},{"type":142,"tag":423,"props":2112,"children":2113},{"class":425,"line":378},[2114,2119,2123,2127,2132,2136],{"type":142,"tag":423,"props":2115,"children":2116},{"style":462},[2117],{"type":148,"value":2118},"    provider",{"type":142,"tag":423,"props":2120,"children":2121},{"style":453},[2122],{"type":148,"value":410},{"type":142,"tag":423,"props":2124,"children":2125},{"style":453},[2126],{"type":148,"value":1497},{"type":142,"tag":423,"props":2128,"children":2129},{"style":878},[2130],{"type":148,"value":2131},"twicpics",{"type":142,"tag":423,"props":2133,"children":2134},{"style":453},[2135],{"type":148,"value":875},{"type":142,"tag":423,"props":2137,"children":2138},{"style":453},[2139],{"type":148,"value":703},{"type":142,"tag":423,"props":2141,"children":2142},{"class":425,"line":486},[2143,2148,2152],{"type":142,"tag":423,"props":2144,"children":2145},{"style":462},[2146],{"type":148,"value":2147},"    twicpics",{"type":142,"tag":423,"props":2149,"children":2150},{"style":453},[2151],{"type":148,"value":410},{"type":142,"tag":423,"props":2153,"children":2154},{"style":453},[2155],{"type":148,"value":474},{"type":142,"tag":423,"props":2157,"children":2158},{"class":425,"line":495},[2159,2164,2168,2172,2177],{"type":142,"tag":423,"props":2160,"children":2161},{"style":462},[2162],{"type":148,"value":2163},"      baseURL",{"type":142,"tag":423,"props":2165,"children":2166},{"style":453},[2167],{"type":148,"value":410},{"type":142,"tag":423,"props":2169,"children":2170},{"style":453},[2171],{"type":148,"value":1497},{"type":142,"tag":423,"props":2173,"children":2174},{"style":878},[2175],{"type":148,"value":2176},"https://nuxt-demo.twic.pics",{"type":142,"tag":423,"props":2178,"children":2179},{"style":453},[2180],{"type":148,"value":2181},"'\n",{"type":142,"tag":423,"props":2183,"children":2184},{"class":425,"line":1038},[2185],{"type":142,"tag":423,"props":2186,"children":2187},{"style":453},[2188],{"type":148,"value":1571},{"type":142,"tag":423,"props":2190,"children":2191},{"class":425,"line":1068},[2192],{"type":142,"tag":423,"props":2193,"children":2194},{"style":453},[2195],{"type":148,"value":492},{"type":142,"tag":423,"props":2197,"children":2198},{"class":425,"line":1097},[2199,2203],{"type":142,"tag":423,"props":2200,"children":2201},{"style":453},[2202],{"type":148,"value":501},{"type":142,"tag":423,"props":2204,"children":2205},{"style":447},[2206],{"type":148,"value":506},{"type":142,"tag":218,"props":2208,"children":2210},{"id":2209},"modifiers",[2211],{"type":142,"tag":180,"props":2212,"children":2213},{"className":136},[2214],{"type":148,"value":2209},{"type":142,"tag":151,"props":2216,"children":2217},{},[2218],{"type":148,"value":2219},"You can set default modifiers for the selected provider.",{"type":142,"tag":412,"props":2221,"children":2223},{"className":414,"code":2222,"filename":416,"language":417,"meta":136,"style":136},"export default defineNuxtConfig({\n  image: {\n    provider: 'cloudinary',\n    cloudinary: {\n      baseURL: 'https://res.cloudinary.com/\u003Ccompany>/image/fetch/',\n      modifiers: {\n        effect: 'sharpen:100',\n        quality: 'auto:best',\n      }\n    }\n  }\n})\n",[2224],{"type":142,"tag":180,"props":2225,"children":2226},{"__ignoreMap":136},[2227,2250,2265,2293,2309,2337,2353,2382,2411,2418,2425,2432],{"type":142,"tag":423,"props":2228,"children":2229},{"class":425,"line":426},[2230,2234,2238,2242,2246],{"type":142,"tag":423,"props":2231,"children":2232},{"style":430},[2233],{"type":148,"value":433},{"type":142,"tag":423,"props":2235,"children":2236},{"style":430},[2237],{"type":148,"value":438},{"type":142,"tag":423,"props":2239,"children":2240},{"style":441},[2241],{"type":148,"value":444},{"type":142,"tag":423,"props":2243,"children":2244},{"style":447},[2245],{"type":148,"value":450},{"type":142,"tag":423,"props":2247,"children":2248},{"style":453},[2249],{"type":148,"value":456},{"type":142,"tag":423,"props":2251,"children":2252},{"class":425,"line":372},[2253,2257,2261],{"type":142,"tag":423,"props":2254,"children":2255},{"style":462},[2256],{"type":148,"value":465},{"type":142,"tag":423,"props":2258,"children":2259},{"style":453},[2260],{"type":148,"value":410},{"type":142,"tag":423,"props":2262,"children":2263},{"style":453},[2264],{"type":148,"value":474},{"type":142,"tag":423,"props":2266,"children":2267},{"class":425,"line":378},[2268,2272,2276,2280,2285,2289],{"type":142,"tag":423,"props":2269,"children":2270},{"style":462},[2271],{"type":148,"value":2118},{"type":142,"tag":423,"props":2273,"children":2274},{"style":453},[2275],{"type":148,"value":410},{"type":142,"tag":423,"props":2277,"children":2278},{"style":453},[2279],{"type":148,"value":1497},{"type":142,"tag":423,"props":2281,"children":2282},{"style":878},[2283],{"type":148,"value":2284},"cloudinary",{"type":142,"tag":423,"props":2286,"children":2287},{"style":453},[2288],{"type":148,"value":875},{"type":142,"tag":423,"props":2290,"children":2291},{"style":453},[2292],{"type":148,"value":703},{"type":142,"tag":423,"props":2294,"children":2295},{"class":425,"line":486},[2296,2301,2305],{"type":142,"tag":423,"props":2297,"children":2298},{"style":462},[2299],{"type":148,"value":2300},"    cloudinary",{"type":142,"tag":423,"props":2302,"children":2303},{"style":453},[2304],{"type":148,"value":410},{"type":142,"tag":423,"props":2306,"children":2307},{"style":453},[2308],{"type":148,"value":474},{"type":142,"tag":423,"props":2310,"children":2311},{"class":425,"line":495},[2312,2316,2320,2324,2329,2333],{"type":142,"tag":423,"props":2313,"children":2314},{"style":462},[2315],{"type":148,"value":2163},{"type":142,"tag":423,"props":2317,"children":2318},{"style":453},[2319],{"type":148,"value":410},{"type":142,"tag":423,"props":2321,"children":2322},{"style":453},[2323],{"type":148,"value":1497},{"type":142,"tag":423,"props":2325,"children":2326},{"style":878},[2327],{"type":148,"value":2328},"https://res.cloudinary.com/\u003Ccompany>/image/fetch/",{"type":142,"tag":423,"props":2330,"children":2331},{"style":453},[2332],{"type":148,"value":875},{"type":142,"tag":423,"props":2334,"children":2335},{"style":453},[2336],{"type":148,"value":703},{"type":142,"tag":423,"props":2338,"children":2339},{"class":425,"line":1038},[2340,2345,2349],{"type":142,"tag":423,"props":2341,"children":2342},{"style":462},[2343],{"type":148,"value":2344},"      modifiers",{"type":142,"tag":423,"props":2346,"children":2347},{"style":453},[2348],{"type":148,"value":410},{"type":142,"tag":423,"props":2350,"children":2351},{"style":453},[2352],{"type":148,"value":474},{"type":142,"tag":423,"props":2354,"children":2355},{"class":425,"line":1068},[2356,2361,2365,2369,2374,2378],{"type":142,"tag":423,"props":2357,"children":2358},{"style":462},[2359],{"type":148,"value":2360},"        effect",{"type":142,"tag":423,"props":2362,"children":2363},{"style":453},[2364],{"type":148,"value":410},{"type":142,"tag":423,"props":2366,"children":2367},{"style":453},[2368],{"type":148,"value":1497},{"type":142,"tag":423,"props":2370,"children":2371},{"style":878},[2372],{"type":148,"value":2373},"sharpen:100",{"type":142,"tag":423,"props":2375,"children":2376},{"style":453},[2377],{"type":148,"value":875},{"type":142,"tag":423,"props":2379,"children":2380},{"style":453},[2381],{"type":148,"value":703},{"type":142,"tag":423,"props":2383,"children":2384},{"class":425,"line":1097},[2385,2390,2394,2398,2403,2407],{"type":142,"tag":423,"props":2386,"children":2387},{"style":462},[2388],{"type":148,"value":2389},"        quality",{"type":142,"tag":423,"props":2391,"children":2392},{"style":453},[2393],{"type":148,"value":410},{"type":142,"tag":423,"props":2395,"children":2396},{"style":453},[2397],{"type":148,"value":1497},{"type":142,"tag":423,"props":2399,"children":2400},{"style":878},[2401],{"type":148,"value":2402},"auto:best",{"type":142,"tag":423,"props":2404,"children":2405},{"style":453},[2406],{"type":148,"value":875},{"type":142,"tag":423,"props":2408,"children":2409},{"style":453},[2410],{"type":148,"value":703},{"type":142,"tag":423,"props":2412,"children":2413},{"class":425,"line":1127},[2414],{"type":142,"tag":423,"props":2415,"children":2416},{"style":453},[2417],{"type":148,"value":1563},{"type":142,"tag":423,"props":2419,"children":2420},{"class":425,"line":1157},[2421],{"type":142,"tag":423,"props":2422,"children":2423},{"style":453},[2424],{"type":148,"value":1571},{"type":142,"tag":423,"props":2426,"children":2427},{"class":425,"line":1187},[2428],{"type":142,"tag":423,"props":2429,"children":2430},{"style":453},[2431],{"type":148,"value":492},{"type":142,"tag":423,"props":2433,"children":2434},{"class":425,"line":1213},[2435,2439],{"type":142,"tag":423,"props":2436,"children":2437},{"style":453},[2438],{"type":148,"value":501},{"type":142,"tag":423,"props":2440,"children":2441},{"style":447},[2442],{"type":148,"value":506},{"type":142,"tag":143,"props":2444,"children":2446},{"id":2445},"densities",[2447],{"type":142,"tag":180,"props":2448,"children":2449},{"className":136},[2450],{"type":148,"value":2445},{"type":142,"tag":151,"props":2452,"children":2453},{},[2454,2455],{"type":148,"value":734},{"type":142,"tag":180,"props":2456,"children":2457},{"className":136},[2458],{"type":148,"value":2459},"[1, 2]",{"type":142,"tag":151,"props":2461,"children":2462},{},[2463,2465,2470,2472,2476],{"type":148,"value":2464},"Specify a value to work with ",{"type":142,"tag":180,"props":2466,"children":2467},{"className":136},[2468],{"type":148,"value":2469},"devicePixelRatio",{"type":148,"value":2471}," > 1 (these are devices with retina display and others). You must specify for which ",{"type":142,"tag":180,"props":2473,"children":2474},{"className":136},[2475],{"type":148,"value":2469},{"type":148,"value":2477}," values you want to adapt images.",{"type":142,"tag":151,"props":2479,"children":2480},{},[2481,2483,2496],{"type":148,"value":2482},"You can ",{"type":142,"tag":167,"props":2484,"children":2487},{"href":2485,"rel":2486},"https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio",[269],[2488,2490,2494],{"type":148,"value":2489},"read more about ",{"type":142,"tag":180,"props":2491,"children":2492},{"className":136},[2493],{"type":148,"value":2469},{"type":148,"value":2495}," on MDN",{"type":148,"value":173},{"type":142,"tag":412,"props":2498,"children":2500},{"className":414,"code":2499,"filename":416,"language":417,"meta":136,"style":136},"export default defineNuxtConfig({\n  image: {\n    densities: [1, 2, 3],\n  }\n})\n",[2501],{"type":142,"tag":180,"props":2502,"children":2503},{"__ignoreMap":136},[2504,2527,2542,2591,2598],{"type":142,"tag":423,"props":2505,"children":2506},{"class":425,"line":426},[2507,2511,2515,2519,2523],{"type":142,"tag":423,"props":2508,"children":2509},{"style":430},[2510],{"type":148,"value":433},{"type":142,"tag":423,"props":2512,"children":2513},{"style":430},[2514],{"type":148,"value":438},{"type":142,"tag":423,"props":2516,"children":2517},{"style":441},[2518],{"type":148,"value":444},{"type":142,"tag":423,"props":2520,"children":2521},{"style":447},[2522],{"type":148,"value":450},{"type":142,"tag":423,"props":2524,"children":2525},{"style":453},[2526],{"type":148,"value":456},{"type":142,"tag":423,"props":2528,"children":2529},{"class":425,"line":372},[2530,2534,2538],{"type":142,"tag":423,"props":2531,"children":2532},{"style":462},[2533],{"type":148,"value":465},{"type":142,"tag":423,"props":2535,"children":2536},{"style":453},[2537],{"type":148,"value":410},{"type":142,"tag":423,"props":2539,"children":2540},{"style":453},[2541],{"type":148,"value":474},{"type":142,"tag":423,"props":2543,"children":2544},{"class":425,"line":378},[2545,2550,2554,2558,2563,2568,2573,2577,2582,2587],{"type":142,"tag":423,"props":2546,"children":2547},{"style":462},[2548],{"type":148,"value":2549},"    densities",{"type":142,"tag":423,"props":2551,"children":2552},{"style":453},[2553],{"type":148,"value":410},{"type":142,"tag":423,"props":2555,"children":2556},{"style":447},[2557],{"type":148,"value":870},{"type":142,"tag":423,"props":2559,"children":2560},{"style":695},[2561],{"type":148,"value":2562},"1",{"type":142,"tag":423,"props":2564,"children":2565},{"style":453},[2566],{"type":148,"value":2567},",",{"type":142,"tag":423,"props":2569,"children":2570},{"style":695},[2571],{"type":148,"value":2572}," 2",{"type":142,"tag":423,"props":2574,"children":2575},{"style":453},[2576],{"type":148,"value":2567},{"type":142,"tag":423,"props":2578,"children":2579},{"style":695},[2580],{"type":148,"value":2581}," 3",{"type":142,"tag":423,"props":2583,"children":2584},{"style":447},[2585],{"type":148,"value":2586},"]",{"type":142,"tag":423,"props":2588,"children":2589},{"style":453},[2590],{"type":148,"value":703},{"type":142,"tag":423,"props":2592,"children":2593},{"class":425,"line":486},[2594],{"type":142,"tag":423,"props":2595,"children":2596},{"style":453},[2597],{"type":148,"value":492},{"type":142,"tag":423,"props":2599,"children":2600},{"class":425,"line":495},[2601,2605],{"type":142,"tag":423,"props":2602,"children":2603},{"style":453},[2604],{"type":148,"value":501},{"type":142,"tag":423,"props":2606,"children":2607},{"style":447},[2608],{"type":148,"value":506},{"type":142,"tag":143,"props":2610,"children":2612},{"id":2611},"dir",[2613],{"type":142,"tag":180,"props":2614,"children":2615},{"className":136},[2616],{"type":148,"value":2611},{"type":142,"tag":151,"props":2618,"children":2619},{},[2620,2621],{"type":148,"value":734},{"type":142,"tag":180,"props":2622,"children":2623},{"className":136},[2624],{"type":148,"value":2625},"public",{"type":142,"tag":151,"props":2627,"children":2628},{},[2629,2631,2635,2636,2640],{"type":148,"value":2630},"This option allows you to specify the location of the source images when using the ",{"type":142,"tag":180,"props":2632,"children":2633},{"className":136},[2634],{"type":148,"value":214},{"type":148,"value":185},{"type":142,"tag":180,"props":2637,"children":2638},{"className":136},[2639],{"type":148,"value":2046},{"type":148,"value":2641}," provider.",{"type":142,"tag":151,"props":2643,"children":2644},{},[2645,2647,2652,2654,2658,2660,2665],{"type":148,"value":2646},"For example you might want the source images in ",{"type":142,"tag":180,"props":2648,"children":2649},{"className":136},[2650],{"type":148,"value":2651},"assets/images",{"type":148,"value":2653}," directory rather than the default ",{"type":142,"tag":180,"props":2655,"children":2656},{"className":136},[2657],{"type":148,"value":2625},{"type":148,"value":2659}," directory so the source images don't get copied into ",{"type":142,"tag":180,"props":2661,"children":2662},{"className":136},[2663],{"type":148,"value":2664},"dist",{"type":148,"value":2666}," and deployed:",{"type":142,"tag":412,"props":2668,"children":2670},{"className":414,"code":2669,"filename":416,"language":417,"meta":136,"style":136},"export default defineNuxtConfig({\n  image: {\n    dir: 'assets/images'\n  }\n})\n",[2671],{"type":142,"tag":180,"props":2672,"children":2673},{"__ignoreMap":136},[2674,2697,2712,2736,2743],{"type":142,"tag":423,"props":2675,"children":2676},{"class":425,"line":426},[2677,2681,2685,2689,2693],{"type":142,"tag":423,"props":2678,"children":2679},{"style":430},[2680],{"type":148,"value":433},{"type":142,"tag":423,"props":2682,"children":2683},{"style":430},[2684],{"type":148,"value":438},{"type":142,"tag":423,"props":2686,"children":2687},{"style":441},[2688],{"type":148,"value":444},{"type":142,"tag":423,"props":2690,"children":2691},{"style":447},[2692],{"type":148,"value":450},{"type":142,"tag":423,"props":2694,"children":2695},{"style":453},[2696],{"type":148,"value":456},{"type":142,"tag":423,"props":2698,"children":2699},{"class":425,"line":372},[2700,2704,2708],{"type":142,"tag":423,"props":2701,"children":2702},{"style":462},[2703],{"type":148,"value":465},{"type":142,"tag":423,"props":2705,"children":2706},{"style":453},[2707],{"type":148,"value":410},{"type":142,"tag":423,"props":2709,"children":2710},{"style":453},[2711],{"type":148,"value":474},{"type":142,"tag":423,"props":2713,"children":2714},{"class":425,"line":378},[2715,2720,2724,2728,2732],{"type":142,"tag":423,"props":2716,"children":2717},{"style":462},[2718],{"type":148,"value":2719},"    dir",{"type":142,"tag":423,"props":2721,"children":2722},{"style":453},[2723],{"type":148,"value":410},{"type":142,"tag":423,"props":2725,"children":2726},{"style":453},[2727],{"type":148,"value":1497},{"type":142,"tag":423,"props":2729,"children":2730},{"style":878},[2731],{"type":148,"value":2651},{"type":142,"tag":423,"props":2733,"children":2734},{"style":453},[2735],{"type":148,"value":2181},{"type":142,"tag":423,"props":2737,"children":2738},{"class":425,"line":486},[2739],{"type":142,"tag":423,"props":2740,"children":2741},{"style":453},[2742],{"type":148,"value":492},{"type":142,"tag":423,"props":2744,"children":2745},{"class":425,"line":495},[2746,2750],{"type":142,"tag":423,"props":2747,"children":2748},{"style":453},[2749],{"type":148,"value":501},{"type":142,"tag":423,"props":2751,"children":2752},{"style":447},[2753],{"type":148,"value":506},{"type":142,"tag":151,"props":2755,"children":2756},{},[2757],{"type":142,"tag":291,"props":2758,"children":2759},{},[2760],{"type":148,"value":2761},"Notes:",{"type":142,"tag":344,"props":2763,"children":2764},{},[2765,2788,2804],{"type":142,"tag":348,"props":2766,"children":2767},{},[2768,2770,2774,2776,2780,2782,2786],{"type":148,"value":2769},"For ",{"type":142,"tag":180,"props":2771,"children":2772},{"className":136},[2773],{"type":148,"value":2046},{"type":148,"value":2775}," provider, if images weren't crawled during generation (unreachable modals, pages or dynamic runtime size), changing ",{"type":142,"tag":180,"props":2777,"children":2778},{"className":136},[2779],{"type":148,"value":2611},{"type":148,"value":2781}," from ",{"type":142,"tag":180,"props":2783,"children":2784},{"className":136},[2785],{"type":148,"value":2625},{"type":148,"value":2787}," causes 404 errors.",{"type":142,"tag":348,"props":2789,"children":2790},{},[2791,2792,2796,2798,2802],{"type":148,"value":2769},{"type":142,"tag":180,"props":2793,"children":2794},{"className":136},[2795],{"type":148,"value":214},{"type":148,"value":2797}," provider, make sure to deploy customized ",{"type":142,"tag":180,"props":2799,"children":2800},{"className":136},[2801],{"type":148,"value":2611},{"type":148,"value":2803}," as well.",{"type":142,"tag":348,"props":2805,"children":2806},{},[2807,2809,2813,2815,2819],{"type":148,"value":2808},"For some providers (like vercel), using a directory other than ",{"type":142,"tag":180,"props":2810,"children":2811},{"className":136},[2812],{"type":148,"value":233},{"type":148,"value":2814}," for assets is not supported since resizing happens at runtime (instead of build/generate time) and source fetched from the ",{"type":142,"tag":180,"props":2816,"children":2817},{"className":136},[2818],{"type":148,"value":233},{"type":148,"value":2820}," directory (deployment URL)",{"type":142,"tag":143,"props":2822,"children":2824},{"id":2823},"alias",[2825],{"type":142,"tag":180,"props":2826,"children":2827},{"className":136},[2828],{"type":148,"value":2823},{"type":142,"tag":151,"props":2830,"children":2831},{},[2832,2834,2839],{"type":148,"value":2833},"This option allows you to specify aliases for ",{"type":142,"tag":180,"props":2835,"children":2836},{"className":136},[2837],{"type":148,"value":2838},"src",{"type":148,"value":173},{"type":142,"tag":151,"props":2841,"children":2842},{},[2843],{"type":148,"value":2844},"When using the default ipx provider, URL aliases are shortened on the server-side.\nThis is especially useful for optimizing external URLs and not including them in HTML.",{"type":142,"tag":151,"props":2846,"children":2847},{},[2848],{"type":148,"value":2849},"When using other providers, aliases are resolved in runtime and included in HTML. (only the usage is simplified)",{"type":142,"tag":151,"props":2851,"children":2852},{},[2853],{"type":142,"tag":291,"props":2854,"children":2855},{},[2856],{"type":148,"value":2857},"Example:",{"type":142,"tag":412,"props":2859,"children":2861},{"className":414,"code":2860,"filename":416,"language":417,"meta":136,"style":136},"export default defineNuxtConfig({\n  image: {\n    domains: [\n      'images.unsplash.com'\n    ],\n    alias: {\n      unsplash: 'https://images.unsplash.com'\n    }\n  }\n})\n",[2862],{"type":142,"tag":180,"props":2863,"children":2864},{"__ignoreMap":136},[2865,2888,2903,2919,2935,2947,2963,2988,2995,3002],{"type":142,"tag":423,"props":2866,"children":2867},{"class":425,"line":426},[2868,2872,2876,2880,2884],{"type":142,"tag":423,"props":2869,"children":2870},{"style":430},[2871],{"type":148,"value":433},{"type":142,"tag":423,"props":2873,"children":2874},{"style":430},[2875],{"type":148,"value":438},{"type":142,"tag":423,"props":2877,"children":2878},{"style":441},[2879],{"type":148,"value":444},{"type":142,"tag":423,"props":2881,"children":2882},{"style":447},[2883],{"type":148,"value":450},{"type":142,"tag":423,"props":2885,"children":2886},{"style":453},[2887],{"type":148,"value":456},{"type":142,"tag":423,"props":2889,"children":2890},{"class":425,"line":372},[2891,2895,2899],{"type":142,"tag":423,"props":2892,"children":2893},{"style":462},[2894],{"type":148,"value":465},{"type":142,"tag":423,"props":2896,"children":2897},{"style":453},[2898],{"type":148,"value":410},{"type":142,"tag":423,"props":2900,"children":2901},{"style":453},[2902],{"type":148,"value":474},{"type":142,"tag":423,"props":2904,"children":2905},{"class":425,"line":378},[2906,2910,2914],{"type":142,"tag":423,"props":2907,"children":2908},{"style":462},[2909],{"type":148,"value":1327},{"type":142,"tag":423,"props":2911,"children":2912},{"style":453},[2913],{"type":148,"value":410},{"type":142,"tag":423,"props":2915,"children":2916},{"style":447},[2917],{"type":148,"value":2918}," [\n",{"type":142,"tag":423,"props":2920,"children":2921},{"class":425,"line":486},[2922,2926,2931],{"type":142,"tag":423,"props":2923,"children":2924},{"style":453},[2925],{"type":148,"value":1013},{"type":142,"tag":423,"props":2927,"children":2928},{"style":878},[2929],{"type":148,"value":2930},"images.unsplash.com",{"type":142,"tag":423,"props":2932,"children":2933},{"style":453},[2934],{"type":148,"value":2181},{"type":142,"tag":423,"props":2936,"children":2937},{"class":425,"line":495},[2938,2943],{"type":142,"tag":423,"props":2939,"children":2940},{"style":447},[2941],{"type":148,"value":2942},"    ]",{"type":142,"tag":423,"props":2944,"children":2945},{"style":453},[2946],{"type":148,"value":703},{"type":142,"tag":423,"props":2948,"children":2949},{"class":425,"line":1038},[2950,2955,2959],{"type":142,"tag":423,"props":2951,"children":2952},{"style":462},[2953],{"type":148,"value":2954},"    alias",{"type":142,"tag":423,"props":2956,"children":2957},{"style":453},[2958],{"type":148,"value":410},{"type":142,"tag":423,"props":2960,"children":2961},{"style":453},[2962],{"type":148,"value":474},{"type":142,"tag":423,"props":2964,"children":2965},{"class":425,"line":1068},[2966,2971,2975,2979,2984],{"type":142,"tag":423,"props":2967,"children":2968},{"style":462},[2969],{"type":148,"value":2970},"      unsplash",{"type":142,"tag":423,"props":2972,"children":2973},{"style":453},[2974],{"type":148,"value":410},{"type":142,"tag":423,"props":2976,"children":2977},{"style":453},[2978],{"type":148,"value":1497},{"type":142,"tag":423,"props":2980,"children":2981},{"style":878},[2982],{"type":148,"value":2983},"https://images.unsplash.com",{"type":142,"tag":423,"props":2985,"children":2986},{"style":453},[2987],{"type":148,"value":2181},{"type":142,"tag":423,"props":2989,"children":2990},{"class":425,"line":1097},[2991],{"type":142,"tag":423,"props":2992,"children":2993},{"style":453},[2994],{"type":148,"value":1571},{"type":142,"tag":423,"props":2996,"children":2997},{"class":425,"line":1127},[2998],{"type":142,"tag":423,"props":2999,"children":3000},{"style":453},[3001],{"type":148,"value":492},{"type":142,"tag":423,"props":3003,"children":3004},{"class":425,"line":1157},[3005,3009],{"type":142,"tag":423,"props":3006,"children":3007},{"style":453},[3008],{"type":148,"value":501},{"type":142,"tag":423,"props":3010,"children":3011},{"style":447},[3012],{"type":148,"value":506},{"type":142,"tag":151,"props":3014,"children":3015},{},[3016,3021],{"type":142,"tag":291,"props":3017,"children":3018},{},[3019],{"type":148,"value":3020},"Before",{"type":148,"value":3022}," using alias:",{"type":142,"tag":412,"props":3024,"children":3026},{"className":1592,"code":3025,"language":1595,"meta":136,"style":136},"\u003CNuxtImg src=\"https://images.unsplash.com/\u003Cid>\" />\n",[3027],{"type":142,"tag":180,"props":3028,"children":3029},{"__ignoreMap":136},[3030],{"type":142,"tag":423,"props":3031,"children":3032},{"class":425,"line":426},[3033,3037,3041,3045,3049,3053,3058,3062],{"type":142,"tag":423,"props":3034,"children":3035},{"style":453},[3036],{"type":148,"value":1607},{"type":142,"tag":423,"props":3038,"children":3039},{"style":462},[3040],{"type":148,"value":1630},{"type":142,"tag":423,"props":3042,"children":3043},{"style":1633},[3044],{"type":148,"value":1660},{"type":142,"tag":423,"props":3046,"children":3047},{"style":453},[3048],{"type":148,"value":1641},{"type":142,"tag":423,"props":3050,"children":3051},{"style":453},[3052],{"type":148,"value":1646},{"type":142,"tag":423,"props":3054,"children":3055},{"style":878},[3056],{"type":148,"value":3057},"https://images.unsplash.com/\u003Cid>",{"type":142,"tag":423,"props":3059,"children":3060},{"style":453},[3061],{"type":148,"value":1646},{"type":142,"tag":423,"props":3063,"children":3064},{"style":453},[3065],{"type":148,"value":1682},{"type":142,"tag":151,"props":3067,"children":3068},{},[3069],{"type":148,"value":3070},"Generates:",{"type":142,"tag":412,"props":3072,"children":3074},{"className":1592,"code":3073,"language":1595,"meta":136,"style":136},"\u003Cimg src=\"/_ipx/https://images.unsplash.com/\u003Cid>\">\n",[3075],{"type":142,"tag":180,"props":3076,"children":3077},{"__ignoreMap":136},[3078],{"type":142,"tag":423,"props":3079,"children":3080},{"class":425,"line":426},[3081,3085,3090,3094,3098,3102,3107,3111],{"type":142,"tag":423,"props":3082,"children":3083},{"style":453},[3084],{"type":148,"value":1607},{"type":142,"tag":423,"props":3086,"children":3087},{"style":462},[3088],{"type":148,"value":3089},"img",{"type":142,"tag":423,"props":3091,"children":3092},{"style":1633},[3093],{"type":148,"value":1660},{"type":142,"tag":423,"props":3095,"children":3096},{"style":453},[3097],{"type":148,"value":1641},{"type":142,"tag":423,"props":3099,"children":3100},{"style":453},[3101],{"type":148,"value":1646},{"type":142,"tag":423,"props":3103,"children":3104},{"style":878},[3105],{"type":148,"value":3106},"/_ipx/https://images.unsplash.com/\u003Cid>",{"type":142,"tag":423,"props":3108,"children":3109},{"style":453},[3110],{"type":148,"value":1646},{"type":142,"tag":423,"props":3112,"children":3113},{"style":453},[3114],{"type":148,"value":1617},{"type":142,"tag":151,"props":3116,"children":3117},{},[3118,3123],{"type":142,"tag":291,"props":3119,"children":3120},{},[3121],{"type":148,"value":3122},"After",{"type":148,"value":3022},{"type":142,"tag":412,"props":3125,"children":3127},{"className":1592,"code":3126,"language":1595,"meta":136,"style":136},"\u003CNuxtImg src=\"/unsplash/\u003Cid>\" />\n",[3128],{"type":142,"tag":180,"props":3129,"children":3130},{"__ignoreMap":136},[3131],{"type":142,"tag":423,"props":3132,"children":3133},{"class":425,"line":426},[3134,3138,3142,3146,3150,3154,3159,3163],{"type":142,"tag":423,"props":3135,"children":3136},{"style":453},[3137],{"type":148,"value":1607},{"type":142,"tag":423,"props":3139,"children":3140},{"style":462},[3141],{"type":148,"value":1630},{"type":142,"tag":423,"props":3143,"children":3144},{"style":1633},[3145],{"type":148,"value":1660},{"type":142,"tag":423,"props":3147,"children":3148},{"style":453},[3149],{"type":148,"value":1641},{"type":142,"tag":423,"props":3151,"children":3152},{"style":453},[3153],{"type":148,"value":1646},{"type":142,"tag":423,"props":3155,"children":3156},{"style":878},[3157],{"type":148,"value":3158},"/unsplash/\u003Cid>",{"type":142,"tag":423,"props":3160,"children":3161},{"style":453},[3162],{"type":148,"value":1646},{"type":142,"tag":423,"props":3164,"children":3165},{"style":453},[3166],{"type":148,"value":1682},{"type":142,"tag":151,"props":3168,"children":3169},{},[3170],{"type":148,"value":3070},{"type":142,"tag":412,"props":3172,"children":3174},{"className":1592,"code":3173,"language":1595,"meta":136,"style":136},"\u003Cimg src=\"/_ipx/unsplash/\u003Cid>\" />\n",[3175],{"type":142,"tag":180,"props":3176,"children":3177},{"__ignoreMap":136},[3178],{"type":142,"tag":423,"props":3179,"children":3180},{"class":425,"line":426},[3181,3185,3189,3193,3197,3201,3206,3210],{"type":142,"tag":423,"props":3182,"children":3183},{"style":453},[3184],{"type":148,"value":1607},{"type":142,"tag":423,"props":3186,"children":3187},{"style":462},[3188],{"type":148,"value":3089},{"type":142,"tag":423,"props":3190,"children":3191},{"style":1633},[3192],{"type":148,"value":1660},{"type":142,"tag":423,"props":3194,"children":3195},{"style":453},[3196],{"type":148,"value":1641},{"type":142,"tag":423,"props":3198,"children":3199},{"style":453},[3200],{"type":148,"value":1646},{"type":142,"tag":423,"props":3202,"children":3203},{"style":878},[3204],{"type":148,"value":3205},"/_ipx/unsplash/\u003Cid>",{"type":142,"tag":423,"props":3207,"children":3208},{"style":453},[3209],{"type":148,"value":1646},{"type":142,"tag":423,"props":3211,"children":3212},{"style":453},[3213],{"type":148,"value":1682},{"type":142,"tag":151,"props":3215,"children":3216},{},[3217],{"type":148,"value":3218},"Both usage and output are simplified!",{"type":142,"tag":3220,"props":3221,"children":3222},"style",{},[3223],{"type":148,"value":3224},"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 .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.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 .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":136,"searchDepth":372,"depth":372,"links":3226},[3227,3228,3229,3230,3231,3232,3233,3234,3237,3238,3239],{"id":509,"depth":372,"text":509},{"id":610,"depth":372,"text":610},{"id":724,"depth":372,"text":724},{"id":910,"depth":372,"text":910},{"id":317,"depth":372,"text":317},{"id":1373,"depth":372,"text":1373},{"id":1701,"depth":372,"text":1701},{"id":2026,"depth":372,"text":2026,"children":3235},[3236],{"id":2209,"depth":378,"text":2209},{"id":2445,"depth":372,"text":2445},{"id":2611,"depth":372,"text":2611},{"id":2823,"depth":372,"text":2823},"content:1.get-started:2.configuration.md","1.get-started/2.configuration.md",{"_path":19,"_dir":134,"_draft":135,"_partial":135,"_locale":136,"title":18,"description":3243,"body":3244,"_type":382,"_id":3455,"_source":384,"_file":3456,"_extension":386},"We can never thank you enough for your contributions. ❤️",{"type":139,"children":3245,"toc":3449},[3246,3263,3269,3318,3324,3396,3402],{"type":142,"tag":275,"props":3247,"children":3248},{},[3249],{"type":142,"tag":151,"props":3250,"children":3251},{},[3252,3254,3261],{"type":148,"value":3253},"It is highly recommended to read ",{"type":142,"tag":167,"props":3255,"children":3258},{"href":3256,"rel":3257},"https://nuxt.com/docs/community/contribution",[269],[3259],{"type":148,"value":3260},"Nuxt contribution guide",{"type":148,"value":3262}," before making any contributions.",{"type":142,"tag":143,"props":3264,"children":3266},{"id":3265},"how-to-contribute",[3267],{"type":148,"value":3268},"How to contribute?",{"type":142,"tag":344,"props":3270,"children":3271},{},[3272,3286,3296,3306],{"type":142,"tag":348,"props":3273,"children":3274},{},[3275,3277,3284],{"type":148,"value":3276},"Clone ",{"type":142,"tag":167,"props":3278,"children":3281},{"href":3279,"rel":3280},"https://github.com/nuxt/image",[269],[3282],{"type":148,"value":3283},"nuxt/image",{"type":148,"value":3285}," repository",{"type":142,"tag":348,"props":3287,"children":3288},{},[3289,3291],{"type":148,"value":3290},"Enable Corepack using ",{"type":142,"tag":180,"props":3292,"children":3293},{"className":136},[3294],{"type":148,"value":3295},"corepack enable",{"type":142,"tag":348,"props":3297,"children":3298},{},[3299,3301],{"type":148,"value":3300},"Install dependencies using ",{"type":142,"tag":180,"props":3302,"children":3303},{"className":136},[3304],{"type":148,"value":3305},"pnpm install",{"type":142,"tag":348,"props":3307,"children":3308},{},[3309,3311,3316],{"type":148,"value":3310},"Run ",{"type":142,"tag":180,"props":3312,"children":3313},{"className":136},[3314],{"type":148,"value":3315},"pnpm dev:prepare",{"type":148,"value":3317}," to generate type stubs.",{"type":142,"tag":218,"props":3319,"children":3321},{"id":3320},"nuxt-image",[3322],{"type":148,"value":3323},"Nuxt Image",{"type":142,"tag":344,"props":3325,"children":3326},{},[3327,3348,3353,3374,3384],{"type":142,"tag":348,"props":3328,"children":3329},{},[3330,3332,3337,3339,3346],{"type":148,"value":3331},"Use ",{"type":142,"tag":180,"props":3333,"children":3334},{"className":136},[3335],{"type":148,"value":3336},"pnpm dev",{"type":148,"value":3338}," to start the ",{"type":142,"tag":167,"props":3340,"children":3343},{"href":3341,"rel":3342},"https://github.com/nuxt/image/tree/main/playground",[269],[3344],{"type":148,"value":3345},"playground",{"type":148,"value":3347}," in development mode.",{"type":142,"tag":348,"props":3349,"children":3350},{},[3351],{"type":148,"value":3352},"Apply your changes",{"type":142,"tag":348,"props":3354,"children":3355},{},[3356,3358,3365,3367,3372],{"type":148,"value":3357},"Add tests into the ",{"type":142,"tag":167,"props":3359,"children":3362},{"href":3360,"rel":3361},"https://github.com/nuxt/image/tree/main/test",[269],[3363],{"type":148,"value":3364},"test/",{"type":148,"value":3366}," directory and run ",{"type":142,"tag":180,"props":3368,"children":3369},{"className":136},[3370],{"type":148,"value":3371},"pnpm test",{"type":148,"value":3373}," to make sure they pass.",{"type":142,"tag":348,"props":3375,"children":3376},{},[3377,3379],{"type":148,"value":3378},"Check the code style with ",{"type":142,"tag":180,"props":3380,"children":3381},{"className":136},[3382],{"type":148,"value":3383},"pnpm lint",{"type":142,"tag":348,"props":3385,"children":3386},{},[3387,3389,3394],{"type":148,"value":3388},"Before creating a PR, make sure to run ",{"type":142,"tag":180,"props":3390,"children":3391},{"className":136},[3392],{"type":148,"value":3393},"pnpm build",{"type":148,"value":3395}," and that no errors are reported.",{"type":142,"tag":218,"props":3397,"children":3399},{"id":3398},"documentation",[3400],{"type":148,"value":3401},"Documentation",{"type":142,"tag":344,"props":3403,"children":3404},{},[3405,3422,3435],{"type":142,"tag":348,"props":3406,"children":3407},{},[3408,3409,3414,3415,3421],{"type":148,"value":3331},{"type":142,"tag":180,"props":3410,"children":3411},{"className":136},[3412],{"type":148,"value":3413},"pnpm docs:dev",{"type":148,"value":3338},{"type":142,"tag":167,"props":3416,"children":3419},{"href":3417,"rel":3418},"https://github.com/nuxt/image/tree/main/docs",[269],[3420],{"type":148,"value":3398},{"type":148,"value":3347},{"type":142,"tag":348,"props":3423,"children":3424},{},[3425,3427,3433],{"type":148,"value":3426},"Open ",{"type":142,"tag":167,"props":3428,"children":3431},{"href":3429,"rel":3430},"http://localhost:3000",[269],[3432],{"type":148,"value":3429},{"type":148,"value":3434}," to view it in the browser.",{"type":142,"tag":348,"props":3436,"children":3437},{},[3438,3440,3447],{"type":148,"value":3439},"Update the content of the documentation in the ",{"type":142,"tag":167,"props":3441,"children":3444},{"href":3442,"rel":3443},"https://github.com/nuxt/image/tree/main/docs/content",[269],[3445],{"type":148,"value":3446},"docs/content/",{"type":148,"value":3448}," directory.",{"title":136,"searchDepth":372,"depth":372,"links":3450},[3451],{"id":3265,"depth":372,"text":3268,"children":3452},[3453,3454],{"id":3320,"depth":378,"text":3323},{"id":3398,"depth":378,"text":3401},"content:1.get-started:4.contributing.md","1.get-started/4.contributing.md",1703164847743]