[{"data":1,"prerenderedAt":996},["ShallowReactive",2],{"navigation":3,"-guide-assets":225,"-guide-assets-surround":991},[4,76,219],{"title":5,"path":6,"stem":7,"children":8,"icon":10},"Docs","/guide","1.guide/0.index",[9,11,16,21,26,31,36,41,46,51,56,61,66,71],{"title":5,"path":6,"stem":7,"icon":10},"ph:book-open-duotone",{"title":12,"path":13,"stem":14,"icon":15},"Server Utils","/guide/utils","1.guide/1.utils","ri:tools-line",{"title":17,"path":18,"stem":19,"icon":20},"Tasks","/guide/tasks","1.guide/10.tasks","codicon:run-all",{"title":22,"path":23,"stem":24,"icon":25},"Server Routes","/guide/routing","1.guide/2.routing","ri:direction-line",{"title":27,"path":28,"stem":29,"icon":30},"WebSocket","/guide/websocket","1.guide/3.websocket","cib:socket-io",{"title":32,"path":33,"stem":34,"icon":35},"KV Storage","/guide/storage","1.guide/4.storage","carbon:datastore",{"title":37,"path":38,"stem":39,"icon":40},"SQL Database","/guide/database","1.guide/5.database","ri:database-2-line",{"title":42,"path":43,"stem":44,"icon":45},"Cache","/guide/cache","1.guide/6.cache","ri:speed-line",{"title":47,"path":48,"stem":49,"icon":50},"Fetch","/guide/fetch","1.guide/7.fetch","ri:global-line",{"title":52,"path":53,"stem":54,"icon":55},"Assets","/guide/assets","1.guide/8.assets","ri:image-2-line",{"title":57,"path":58,"stem":59,"icon":60},"Plugins","/guide/plugins","1.guide/9.plugins","ri:plug-line",{"title":62,"path":63,"stem":64,"icon":65},"Configuration","/guide/configuration","1.guide/97.configuration","ri:settings-3-line",{"title":67,"path":68,"stem":69,"icon":70},"TypeScript","/guide/typescript","1.guide/98.typescript","tabler:brand-typescript",{"title":72,"path":73,"stem":74,"icon":75},"Nightly Channel","/guide/nightly","1.guide/99.nightly","ri:moon-fill",{"title":77,"path":78,"stem":79,"children":80,"icon":82},"Deploy","/deploy","2.deploy/0.index",[81,83,87,113,118],{"title":77,"path":78,"stem":79,"icon":82},"ri:upload-cloud-2-line",{"title":84,"path":85,"stem":86,"icon":50},"Edge Workers","/deploy/workers","2.deploy/1.workers",{"title":88,"path":89,"stem":90,"children":91,"page":112},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[92,97,102,107],{"title":93,"path":94,"stem":95,"icon":96},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":98,"path":99,"stem":100,"icon":101},"WinterJS","/deploy/runtimes/_winterjs","2.deploy/10.runtimes/_winterjs","game-icons:cold-heart",{"title":103,"path":104,"stem":105,"icon":106},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":108,"path":109,"stem":110,"icon":111},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":114,"path":115,"stem":116,"icon":117},"Custom Preset","/deploy/custom-presets","2.deploy/2.custom-presets","ri:file-code-line",{"title":119,"path":120,"stem":121,"children":122,"page":112},"Providers","/deploy/providers","2.deploy/20.providers",[123,127,131,135,139,143,147,151,155,159,163,167,171,175,179,183,187,191,195,199,203,207,211,215],{"title":124,"path":125,"stem":126},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":128,"path":129,"stem":130},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":132,"path":133,"stem":134},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":136,"path":137,"stem":138},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":140,"path":141,"stem":142},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":144,"path":145,"stem":146},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":148,"path":149,"stem":150},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":152,"path":153,"stem":154},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":156,"path":157,"stem":158},"Edgio","/deploy/providers/edgio","2.deploy/20.providers/edgio",{"title":160,"path":161,"stem":162},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":164,"path":165,"stem":166},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":168,"path":169,"stem":170},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":172,"path":173,"stem":174},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":176,"path":177,"stem":178},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":180,"path":181,"stem":182},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":184,"path":185,"stem":186},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":188,"path":189,"stem":190},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":192,"path":193,"stem":194},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":196,"path":197,"stem":198},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":200,"path":201,"stem":202},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":204,"path":205,"stem":206},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":208,"path":209,"stem":210},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":212,"path":213,"stem":214},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":216,"path":217,"stem":218},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":220,"path":221,"stem":222,"children":223,"icon":65},"Config","/config","3.config/0.index",[224],{"title":220,"path":221,"stem":222,"icon":65},{"id":226,"title":52,"body":227,"description":256,"extension":255,"meta":987,"navigation":988,"path":53,"seo":989,"stem":54,"__hash__":990},"content/1.guide/8.assets.md",{"type":228,"value":229,"toc":979,"icon":55},"minimark",[230,235,244,250,304,309,319,544,547,551,561,573,580,664,668,673,791,798,896,903,975],[231,232,234],"h2",{"id":233},"public-assets","Public assets",[236,237,238,239,243],"p",{},"Nitro handles assets via the ",[240,241,242],"code",{},"server/public/"," directory.",[236,245,246,247,249],{},"All assets in ",[240,248,242],{}," directory will be automatically served. This means that you can access them directly from the browser without any special configuration.",[251,252,257],"pre",{"className":253,"code":254,"language":255,"meta":256,"style":256},"language-md shiki shiki-themes github-light github-dark github-dark","server/\n  public/\n    image.png     \u003C-- /image.png\n    video.mp4     \u003C-- /video.mp4\n    robots.txt    \u003C-- /robots.txt\npackage.json\nnitro.config.ts\n","md","",[240,258,259,268,274,280,286,292,298],{"__ignoreMap":256},[260,261,264],"span",{"class":262,"line":263},"line",1,[260,265,267],{"class":266},"slsVL","server/\n",[260,269,271],{"class":262,"line":270},2,[260,272,273],{"class":266},"  public/\n",[260,275,277],{"class":262,"line":276},3,[260,278,279],{"class":266},"    image.png     \u003C-- /image.png\n",[260,281,283],{"class":262,"line":282},4,[260,284,285],{"class":266},"    video.mp4     \u003C-- /video.mp4\n",[260,287,289],{"class":262,"line":288},5,[260,290,291],{"class":266},"    robots.txt    \u003C-- /robots.txt\n",[260,293,295],{"class":262,"line":294},6,[260,296,297],{"class":266},"package.json\n",[260,299,301],{"class":262,"line":300},7,[260,302,303],{"class":266},"nitro.config.ts\n",[305,306,308],"h3",{"id":307},"production-public-assets","Production public assets",[236,310,311,312,314,315,318],{},"When building your Nitro app, the ",[240,313,242],{}," directory will be copied to ",[240,316,317],{},".output/public/"," and a manifest with metadata will be created and embedded in the server bundle.",[251,320,324],{"className":321,"code":322,"language":323,"meta":256,"style":256},"language-json shiki shiki-themes github-light github-dark github-dark","{\n  \"/image.png\": {\n    \"type\": \"image/png\",\n    \"etag\": \"\\\"4a0c-6utWq0Kbk5OqDmksYCa9XV8irnM\\\"\",\n    \"mtime\": \"2023-03-04T21:39:45.086Z\",\n    \"size\": 18956\n  },\n  \"/robots.txt\": {\n    \"type\": \"text/plain; charset=utf-8\",\n    \"etag\": \"\\\"8-hMqyDrA8fJ0R904zgEPs3L55Jls\\\"\",\n    \"mtime\": \"2023-03-04T21:39:45.086Z\",\n    \"size\": 8\n  },\n  \"/video.mp4\": {\n    \"type\": \"video/mp4\",\n    \"etag\": \"\\\"9b943-4UwfQXKUjPCesGPr6J5j7GzNYGU\\\"\",\n    \"mtime\": \"2023-03-04T21:39:45.085Z\",\n    \"size\": 637251\n  }\n}\n","json",[240,325,326,331,340,355,377,389,399,404,412,424,444,455,465,470,478,490,510,522,532,538],{"__ignoreMap":256},[260,327,328],{"class":262,"line":263},[260,329,330],{"class":266},"{\n",[260,332,333,337],{"class":262,"line":270},[260,334,336],{"class":335},"suiK_","  \"/image.png\"",[260,338,339],{"class":266},": {\n",[260,341,342,345,348,352],{"class":262,"line":276},[260,343,344],{"class":335},"    \"type\"",[260,346,347],{"class":266},": ",[260,349,351],{"class":350},"sfrk1","\"image/png\"",[260,353,354],{"class":266},",\n",[260,356,357,360,362,365,368,371,373,375],{"class":262,"line":282},[260,358,359],{"class":335},"    \"etag\"",[260,361,347],{"class":266},[260,363,364],{"class":350},"\"",[260,366,367],{"class":335},"\\\"",[260,369,370],{"class":350},"4a0c-6utWq0Kbk5OqDmksYCa9XV8irnM",[260,372,367],{"class":335},[260,374,364],{"class":350},[260,376,354],{"class":266},[260,378,379,382,384,387],{"class":262,"line":288},[260,380,381],{"class":335},"    \"mtime\"",[260,383,347],{"class":266},[260,385,386],{"class":350},"\"2023-03-04T21:39:45.086Z\"",[260,388,354],{"class":266},[260,390,391,394,396],{"class":262,"line":294},[260,392,393],{"class":335},"    \"size\"",[260,395,347],{"class":266},[260,397,398],{"class":335},"18956\n",[260,400,401],{"class":262,"line":300},[260,402,403],{"class":266},"  },\n",[260,405,407,410],{"class":262,"line":406},8,[260,408,409],{"class":335},"  \"/robots.txt\"",[260,411,339],{"class":266},[260,413,415,417,419,422],{"class":262,"line":414},9,[260,416,344],{"class":335},[260,418,347],{"class":266},[260,420,421],{"class":350},"\"text/plain; charset=utf-8\"",[260,423,354],{"class":266},[260,425,427,429,431,433,435,438,440,442],{"class":262,"line":426},10,[260,428,359],{"class":335},[260,430,347],{"class":266},[260,432,364],{"class":350},[260,434,367],{"class":335},[260,436,437],{"class":350},"8-hMqyDrA8fJ0R904zgEPs3L55Jls",[260,439,367],{"class":335},[260,441,364],{"class":350},[260,443,354],{"class":266},[260,445,447,449,451,453],{"class":262,"line":446},11,[260,448,381],{"class":335},[260,450,347],{"class":266},[260,452,386],{"class":350},[260,454,354],{"class":266},[260,456,458,460,462],{"class":262,"line":457},12,[260,459,393],{"class":335},[260,461,347],{"class":266},[260,463,464],{"class":335},"8\n",[260,466,468],{"class":262,"line":467},13,[260,469,403],{"class":266},[260,471,473,476],{"class":262,"line":472},14,[260,474,475],{"class":335},"  \"/video.mp4\"",[260,477,339],{"class":266},[260,479,481,483,485,488],{"class":262,"line":480},15,[260,482,344],{"class":335},[260,484,347],{"class":266},[260,486,487],{"class":350},"\"video/mp4\"",[260,489,354],{"class":266},[260,491,493,495,497,499,501,504,506,508],{"class":262,"line":492},16,[260,494,359],{"class":335},[260,496,347],{"class":266},[260,498,364],{"class":350},[260,500,367],{"class":335},[260,502,503],{"class":350},"9b943-4UwfQXKUjPCesGPr6J5j7GzNYGU",[260,505,367],{"class":335},[260,507,364],{"class":350},[260,509,354],{"class":266},[260,511,513,515,517,520],{"class":262,"line":512},17,[260,514,381],{"class":335},[260,516,347],{"class":266},[260,518,519],{"class":350},"\"2023-03-04T21:39:45.085Z\"",[260,521,354],{"class":266},[260,523,525,527,529],{"class":262,"line":524},18,[260,526,393],{"class":335},[260,528,347],{"class":266},[260,530,531],{"class":335},"637251\n",[260,533,535],{"class":262,"line":534},19,[260,536,537],{"class":266},"  }\n",[260,539,541],{"class":262,"line":540},20,[260,542,543],{"class":266},"}\n",[236,545,546],{},"This allows Nitro to know the public assets without scanning the directory, giving high performance with caching headers.",[231,548,550],{"id":549},"server-assets","Server assets",[236,552,246,553,556,557,560],{},[240,554,555],{},"server/assets/"," directory will be added to the server bundle. After building your application, you can find them in the ",[240,558,559],{},".output/server/chunks/raw/"," directory. Be careful with the size of your assets, as they will be bundled with the server bundle.",[236,562,563,564,567,568,572],{},"They can be addressed by the ",[240,565,566],{},"assets:server"," mount point using the ",[569,570,571],"a",{"href":33},"storage layer",".",[236,574,575,576,579],{},"For example, you could store a json file in ",[240,577,578],{},"server/assets/data.json"," and retrieve it in your handler:",[251,581,585],{"className":582,"code":583,"language":584,"meta":256,"style":256},"language-js shiki shiki-themes github-light github-dark github-dark","export default defineEventHandler(async () => {\n  const data = await useStorage('assets:server').getItem(`data.json`)\n  return data\n})\n","js",[240,586,587,615,651,659],{"__ignoreMap":256},[260,588,589,593,596,600,603,606,609,612],{"class":262,"line":263},[260,590,592],{"class":591},"so5gQ","export",[260,594,595],{"class":591}," default",[260,597,599],{"class":598},"shcOC"," defineEventHandler",[260,601,602],{"class":266},"(",[260,604,605],{"class":591},"async",[260,607,608],{"class":266}," () ",[260,610,611],{"class":591},"=>",[260,613,614],{"class":266}," {\n",[260,616,617,620,623,626,629,632,634,637,640,643,645,648],{"class":262,"line":270},[260,618,619],{"class":591},"  const",[260,621,622],{"class":335}," data",[260,624,625],{"class":591}," =",[260,627,628],{"class":591}," await",[260,630,631],{"class":598}," useStorage",[260,633,602],{"class":266},[260,635,636],{"class":350},"'assets:server'",[260,638,639],{"class":266},").",[260,641,642],{"class":598},"getItem",[260,644,602],{"class":266},[260,646,647],{"class":350},"`data.json`",[260,649,650],{"class":266},")\n",[260,652,653,656],{"class":262,"line":276},[260,654,655],{"class":591},"  return",[260,657,658],{"class":266}," data\n",[260,660,661],{"class":262,"line":282},[260,662,663],{"class":266},"})\n",[305,665,667],{"id":666},"custom-server-assets","Custom server assets",[236,669,670,671,243],{},"In order to add assets from a custom directory, you will need to define a path in your nitro config. This allows you to add assets from a directory outside of the ",[240,672,555],{},[674,675,676,730],"code-group",{},[251,677,680],{"className":582,"code":678,"filename":679,"language":584,"meta":256,"style":256},"export default defineNitroConfig({\n  serverAssets: [{\n    baseName: 'my_directory',\n    dir: './my_directory' // Relative to `srcDir`\n  }]\n})\n","nitro.config.ts",[240,681,682,694,699,709,721,726],{"__ignoreMap":256},[260,683,684,686,688,691],{"class":262,"line":263},[260,685,592],{"class":591},[260,687,595],{"class":591},[260,689,690],{"class":598}," defineNitroConfig",[260,692,693],{"class":266},"({\n",[260,695,696],{"class":262,"line":270},[260,697,698],{"class":266},"  serverAssets: [{\n",[260,700,701,704,707],{"class":262,"line":276},[260,702,703],{"class":266},"    baseName: ",[260,705,706],{"class":350},"'my_directory'",[260,708,354],{"class":266},[260,710,711,714,717],{"class":262,"line":282},[260,712,713],{"class":266},"    dir: ",[260,715,716],{"class":350},"'./my_directory'",[260,718,720],{"class":719},"sCsY4"," // Relative to `srcDir`\n",[260,722,723],{"class":262,"line":288},[260,724,725],{"class":266},"  }]\n",[260,727,728],{"class":262,"line":294},[260,729,663],{"class":266},[251,731,736],{"className":732,"code":733,"filename":734,"language":735,"meta":256,"style":256},"language-ts shiki shiki-themes github-light github-dark github-dark","export default defineNuxtConfig({\n  nitro: {\n    serverAssets: [{\n      baseName: 'my_directory',\n      dir: './my_directory' // Relative to Nitro `srcDir`\n    }]\n  }\n})\n","nuxt.config.ts","ts",[240,737,738,749,754,759,768,778,783,787],{"__ignoreMap":256},[260,739,740,742,744,747],{"class":262,"line":263},[260,741,592],{"class":591},[260,743,595],{"class":591},[260,745,746],{"class":598}," defineNuxtConfig",[260,748,693],{"class":266},[260,750,751],{"class":262,"line":270},[260,752,753],{"class":266},"  nitro: {\n",[260,755,756],{"class":262,"line":276},[260,757,758],{"class":266},"    serverAssets: [{\n",[260,760,761,764,766],{"class":262,"line":282},[260,762,763],{"class":266},"      baseName: ",[260,765,706],{"class":350},[260,767,354],{"class":266},[260,769,770,773,775],{"class":262,"line":288},[260,771,772],{"class":266},"      dir: ",[260,774,716],{"class":350},[260,776,777],{"class":719}," // Relative to Nitro `srcDir`\n",[260,779,780],{"class":262,"line":294},[260,781,782],{"class":266},"    }]\n",[260,784,785],{"class":262,"line":300},[260,786,537],{"class":266},[260,788,789],{"class":262,"line":406},[260,790,663],{"class":266},[236,792,793,794,797],{},"You could want to add a directory (",[240,795,796],{},"server/templates/",") with html templates for example.",[674,799,800,845],{},[251,801,803],{"className":582,"code":802,"filename":679,"language":584,"meta":256,"style":256},"export default defineNitroConfig({\n  serverAssets: [{\n    baseName: 'templates',\n    dir: './templates' // Relative to `srcDir`\n  }]\n})\n",[240,804,805,815,819,828,837,841],{"__ignoreMap":256},[260,806,807,809,811,813],{"class":262,"line":263},[260,808,592],{"class":591},[260,810,595],{"class":591},[260,812,690],{"class":598},[260,814,693],{"class":266},[260,816,817],{"class":262,"line":270},[260,818,698],{"class":266},[260,820,821,823,826],{"class":262,"line":276},[260,822,703],{"class":266},[260,824,825],{"class":350},"'templates'",[260,827,354],{"class":266},[260,829,830,832,835],{"class":262,"line":282},[260,831,713],{"class":266},[260,833,834],{"class":350},"'./templates'",[260,836,720],{"class":719},[260,838,839],{"class":262,"line":288},[260,840,725],{"class":266},[260,842,843],{"class":262,"line":294},[260,844,663],{"class":266},[251,846,848],{"className":732,"code":847,"filename":734,"language":735,"meta":256,"style":256},"export default defineNuxtConfig({\n  nitro: {\n    serverAssets: [{\n      baseName: 'templates',\n      dir: './templates' // Relative to Nitro `srcDir`\n    }]\n  }\n})\n",[240,849,850,860,864,868,876,884,888,892],{"__ignoreMap":256},[260,851,852,854,856,858],{"class":262,"line":263},[260,853,592],{"class":591},[260,855,595],{"class":591},[260,857,746],{"class":598},[260,859,693],{"class":266},[260,861,862],{"class":262,"line":270},[260,863,753],{"class":266},[260,865,866],{"class":262,"line":276},[260,867,758],{"class":266},[260,869,870,872,874],{"class":262,"line":282},[260,871,763],{"class":266},[260,873,825],{"class":350},[260,875,354],{"class":266},[260,877,878,880,882],{"class":262,"line":288},[260,879,772],{"class":266},[260,881,834],{"class":350},[260,883,777],{"class":719},[260,885,886],{"class":262,"line":294},[260,887,782],{"class":266},[260,889,890],{"class":262,"line":300},[260,891,537],{"class":266},[260,893,894],{"class":262,"line":406},[260,895,663],{"class":266},[236,897,898,899,902],{},"Then you can use the ",[240,900,901],{},"assets:templates"," base to retrieve your assets.",[251,904,907],{"className":732,"code":905,"filename":906,"language":735,"meta":256,"style":256},"export default defineEventHandler(async (event) => {\n  const html = await useStorage('assets:templates').getItem(`success.html`)\n  return html\n})\n","handlers/success.ts",[240,908,909,935,964,971],{"__ignoreMap":256},[260,910,911,913,915,917,919,921,924,928,931,933],{"class":262,"line":263},[260,912,592],{"class":591},[260,914,595],{"class":591},[260,916,599],{"class":598},[260,918,602],{"class":266},[260,920,605],{"class":591},[260,922,923],{"class":266}," (",[260,925,927],{"class":926},"sQHwn","event",[260,929,930],{"class":266},") ",[260,932,611],{"class":591},[260,934,614],{"class":266},[260,936,937,939,942,944,946,948,950,953,955,957,959,962],{"class":262,"line":270},[260,938,619],{"class":591},[260,940,941],{"class":335}," html",[260,943,625],{"class":591},[260,945,628],{"class":591},[260,947,631],{"class":598},[260,949,602],{"class":266},[260,951,952],{"class":350},"'assets:templates'",[260,954,639],{"class":266},[260,956,642],{"class":598},[260,958,602],{"class":266},[260,960,961],{"class":350},"`success.html`",[260,963,650],{"class":266},[260,965,966,968],{"class":262,"line":276},[260,967,655],{"class":591},[260,969,970],{"class":266}," html\n",[260,972,973],{"class":262,"line":282},[260,974,663],{"class":266},[976,977,978],"style",{},"html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html pre.shiki code .so5gQ, html code.shiki .so5gQ{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#F97583}html pre.shiki code .shcOC, html code.shiki .shcOC{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#B392F0}html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sQHwn, html code.shiki .sQHwn{--shiki-light:#E36209;--shiki-default:#FFAB70;--shiki-dark:#FFAB70}",{"title":256,"searchDepth":270,"depth":270,"links":980},[981,984],{"id":233,"depth":270,"text":234,"children":982},[983],{"id":307,"depth":276,"text":308},{"id":549,"depth":270,"text":550,"children":985},[986],{"id":666,"depth":276,"text":667},{"icon":55},{"icon":55},{"title":52,"description":256},"_k64A6kdU6McCwYsqZTY8r39b_p_TwMkJRpe3yL1rhs",[992,994],{"title":47,"path":48,"stem":49,"description":993,"icon":50,"children":-1},"Nitro provides a built-in fetch API that can be used to get data from server endpoints or from other sources. It's built on top of the ofetch.",{"title":57,"path":58,"stem":59,"description":995,"icon":60,"children":-1},"Use plugins to extend Nitro's runtime behavior.",1775117933605]