[{"data":1,"prerenderedAt":1221},["ShallowReactive",2],{"navigation":3,"examples-nav":228,"-examples-import-alias":357,"-examples-import-alias-surround":1214},[4,83,212,218,225],{"title":5,"path":6,"stem":7,"children":8,"icon":82},"","/docs","1.docs/1.index",[9,12,17,22,27,32,37,42,47,52,57,62,67,72,77],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-compass",{"title":13,"path":14,"stem":15,"icon":16},"Quick Start","/docs/quick-start","1.docs/2.quick-start","i-lucide-zap",{"title":18,"path":19,"stem":20,"icon":21},"Renderer","/docs/renderer","1.docs/4.renderer","ri:layout-masonry-line",{"title":23,"path":24,"stem":25,"icon":26},"Routing","/docs/routing","1.docs/5.routing","ri:direction-line",{"title":28,"path":29,"stem":30,"icon":31},"Assets","/docs/assets","1.docs/50.assets","ri:image-2-line",{"title":33,"path":34,"stem":35,"icon":36},"Configuration","/docs/configuration","1.docs/50.configuration","ri:settings-3-line",{"title":38,"path":39,"stem":40,"icon":41},"Database","/docs/database","1.docs/50.database","ri:database-2-line",{"title":43,"path":44,"stem":45,"icon":46},"Lifecycle","/docs/lifecycle","1.docs/50.lifecycle","i-lucide-layers",{"title":48,"path":49,"stem":50,"icon":51},"Plugins","/docs/plugins","1.docs/50.plugins","ri:plug-line",{"title":53,"path":54,"stem":55,"icon":56},"Tasks","/docs/tasks","1.docs/50.tasks","codicon:run-all",{"title":58,"path":59,"stem":60,"icon":61},"Server Entry","/docs/server-entry","1.docs/6.server-entry","ri:server-line",{"title":63,"path":64,"stem":65,"icon":66},"Cache","/docs/cache","1.docs/7.cache","ri:speed-line",{"title":68,"path":69,"stem":70,"icon":71},"KV Storage","/docs/storage","1.docs/8.storage","carbon:datastore",{"title":73,"path":74,"stem":75,"icon":76},"Migration Guide","/docs/migration","1.docs/99.migration","ri:arrow-right-up-line",{"title":78,"path":79,"stem":80,"icon":81},"Nightly Channel","/docs/nightly","1.docs/99.nightly","ri:moon-fill","i-lucide-book-open",{"title":84,"path":85,"stem":86,"children":87,"icon":89},"Deploy","/deploy","2.deploy/0.index",[88,90,111],{"title":84,"path":85,"stem":86,"icon":89},"ri:upload-cloud-2-line",{"title":91,"path":92,"stem":93,"children":94,"page":110},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[95,100,105],{"title":96,"path":97,"stem":98,"icon":99},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":101,"path":102,"stem":103,"icon":104},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":106,"path":107,"stem":108,"icon":109},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":112,"path":113,"stem":114,"children":115,"page":110},"Providers","/deploy/providers","2.deploy/20.providers",[116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208],{"title":117,"path":118,"stem":119},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":121,"path":122,"stem":123},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":125,"path":126,"stem":127},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":129,"path":130,"stem":131},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":133,"path":134,"stem":135},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":137,"path":138,"stem":139},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":141,"path":142,"stem":143},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":145,"path":146,"stem":147},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":149,"path":150,"stem":151},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":153,"path":154,"stem":155},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":157,"path":158,"stem":159},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":161,"path":162,"stem":163},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":165,"path":166,"stem":167},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":169,"path":170,"stem":171},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":173,"path":174,"stem":175},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":177,"path":178,"stem":179},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":181,"path":182,"stem":183},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":185,"path":186,"stem":187},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":189,"path":190,"stem":191},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":193,"path":194,"stem":195},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":197,"path":198,"stem":199},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":201,"path":202,"stem":203},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":205,"path":206,"stem":207},"Zephyr Cloud","/deploy/providers/zephyr","2.deploy/20.providers/zephyr",{"title":209,"path":210,"stem":211},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":213,"path":214,"stem":215,"children":216,"icon":36},"Config","/config","3.config/0.index",[217],{"title":213,"path":214,"stem":215,"icon":36},{"title":219,"path":220,"stem":221,"children":222,"icon":224},"Examples","/examples","4.examples/0.index",[223],{"title":219,"path":220,"stem":221,"icon":224},"i-lucide-folder-code",{"title":5,"path":226,"stem":227},"/","index",[229,234,239,243,247,250,255,259,263,267,271,275,279,284,288,291,295,299,303,308,312,317,321,325,329,333,337,341,345,349,353],{"title":230,"description":231,"category":232,"path":233},"API Routes","File-based API routing with HTTP method support and dynamic parameters.","features","/examples/api-routes/readme",{"title":235,"description":236,"category":237,"path":238},"Auto Imports","Automatic imports for utilities and composables.","config","/examples/auto-imports/readme",{"title":240,"description":241,"category":232,"path":242},"Cached Handler","Cache route responses with configurable bypass logic.","/examples/cached-handler/readme",{"title":244,"description":245,"category":232,"path":246},"Custom Error Handler","Customize error responses with a global error handler.","/examples/custom-error-handler/readme",{"title":38,"description":248,"category":232,"path":249},"Built-in database support with SQL template literals.","/examples/database/readme",{"title":251,"description":252,"category":253,"path":254},"Elysia","Integrate Elysia with Nitro using the server entry.","backend frameworks","/examples/elysia/readme",{"title":256,"description":257,"category":253,"path":258},"Express","Integrate Express with Nitro using the server entry.","/examples/express/readme",{"title":260,"description":261,"category":253,"path":262},"Fastify","Integrate Fastify with Nitro using the server entry.","/examples/fastify/readme",{"title":264,"description":265,"category":232,"path":266},"Hello World","Minimal Nitro server using the web standard fetch handler.","/examples/hello-world/readme",{"title":268,"description":269,"category":253,"path":270},"Hono","Integrate Hono with Nitro using the server entry.","/examples/hono/readme",{"title":272,"description":273,"category":237,"path":274},"Import Alias","Custom import aliases for cleaner module paths.","/examples/import-alias/readme",{"title":276,"description":277,"category":232,"path":278},"Middleware","Request middleware for authentication, logging, and request modification.","/examples/middleware/readme",{"title":280,"description":281,"category":282,"path":283},"Mono JSX","Server-side JSX rendering in Nitro with mono-jsx.","server side rendering","/examples/mono-jsx/readme",{"title":285,"description":286,"category":282,"path":287},"Nano JSX","Server-side JSX rendering in Nitro with nano-jsx.","/examples/nano-jsx/readme",{"title":48,"description":289,"category":232,"path":290},"Extend Nitro with custom plugins for hooks and lifecycle events.","/examples/plugins/readme",{"title":292,"description":293,"category":282,"path":294},"Custom Renderer","Build a custom HTML renderer in Nitro with server-side data fetching.","/examples/renderer/readme",{"title":296,"description":297,"category":237,"path":298},"Runtime Config","Environment-aware configuration with runtime access.","/examples/runtime-config/readme",{"title":300,"description":301,"category":232,"path":302},"Server Fetch","Internal server-to-server requests without network overhead.","/examples/server-fetch/readme",{"title":304,"description":305,"category":306,"path":307},"Shiki","Server-side syntax highlighting in Nitro with Shiki.","integrations","/examples/shiki/readme",{"title":309,"description":310,"category":232,"path":311},"Virtual Routes","Define routes programmatically using Nitro's virtual module system.","/examples/virtual-routes/readme",{"title":313,"description":314,"category":315,"path":316},"Vite Nitro Plugin","Use Nitro as a Vite plugin for programmatic configuration.","vite","/examples/vite-nitro-plugin/readme",{"title":318,"description":319,"category":315,"path":320},"Vite RSC","React Server Components with Vite and Nitro.","/examples/vite-rsc/readme",{"title":322,"description":323,"category":282,"path":324},"Vite SSR HTML","Server-side rendering with vanilla HTML, Vite, and Nitro.","/examples/vite-ssr-html/readme",{"title":326,"description":327,"category":282,"path":328},"SSR with Preact","Server-side rendering with Preact in Nitro using Vite.","/examples/vite-ssr-preact/readme",{"title":330,"description":331,"category":282,"path":332},"SSR with React","Server-side rendering with React in Nitro using Vite.","/examples/vite-ssr-react/readme",{"title":334,"description":335,"category":282,"path":336},"SSR with SolidJS","Server-side rendering with SolidJS in Nitro using Vite.","/examples/vite-ssr-solid/readme",{"title":338,"description":339,"category":282,"path":340},"SSR with TanStack Router","Client-side routing with TanStack Router in Nitro using Vite.","/examples/vite-ssr-tsr-react/readme",{"title":342,"description":343,"category":282,"path":344},"SSR with TanStack Start","Full-stack React with TanStack Start in Nitro using Vite.","/examples/vite-ssr-tss-react/readme",{"title":346,"description":347,"category":282,"path":348},"SSR with Vue Router","Server-side rendering with Vue Router in Nitro using Vite.","/examples/vite-ssr-vue-router/readme",{"title":350,"description":351,"category":315,"path":352},"Vite + tRPC","End-to-end typesafe APIs with tRPC in Nitro using Vite.","/examples/vite-trpc/readme",{"title":354,"description":355,"category":232,"path":356},"WebSocket","Real-time bidirectional communication with WebSocket support.","/examples/websocket/readme",{"id":358,"title":272,"body":359,"category":237,"description":273,"extension":1207,"icon":1208,"meta":1209,"navigation":1210,"path":274,"seo":1211,"stem":1212,"__hash__":1213},"examples/examples/import-alias/README.md",{"type":360,"value":361,"toc":1202},"minimark",[362,1011,1023,1028,1154,1174,1177,1186,1190,1198],[363,364,367,463,589,652,706,864],"code-tree",{":expand-all":365,"default-value":366,"expand-all":5},"true","server/routes/index.ts",[368,369,374],"pre",{"className":370,"code":371,"filename":372,"language":373,"meta":5,"style":5},"language-ts shiki shiki-themes github-light github-dark github-dark","import { defineConfig } from \"nitro\";\n\nexport default defineConfig({\n  serverDir: true,\n  experimental: {\n    tsconfigPaths: true,\n  },\n});\n","nitro.config.ts","ts",[375,376,377,400,407,423,435,441,451,457],"code",{"__ignoreMap":5},[378,379,382,386,390,393,397],"span",{"class":380,"line":381},"line",1,[378,383,385],{"class":384},"so5gQ","import",[378,387,389],{"class":388},"slsVL"," { defineConfig } ",[378,391,392],{"class":384},"from",[378,394,396],{"class":395},"sfrk1"," \"nitro\"",[378,398,399],{"class":388},";\n",[378,401,403],{"class":380,"line":402},2,[378,404,406],{"emptyLinePlaceholder":405},true,"\n",[378,408,410,413,416,420],{"class":380,"line":409},3,[378,411,412],{"class":384},"export",[378,414,415],{"class":384}," default",[378,417,419],{"class":418},"shcOC"," defineConfig",[378,421,422],{"class":388},"({\n",[378,424,426,429,432],{"class":380,"line":425},4,[378,427,428],{"class":388},"  serverDir: ",[378,430,365],{"class":431},"suiK_",[378,433,434],{"class":388},",\n",[378,436,438],{"class":380,"line":437},5,[378,439,440],{"class":388},"  experimental: {\n",[378,442,444,447,449],{"class":380,"line":443},6,[378,445,446],{"class":388},"    tsconfigPaths: ",[378,448,365],{"class":431},[378,450,434],{"class":388},[378,452,454],{"class":380,"line":453},7,[378,455,456],{"class":388},"  },\n",[378,458,460],{"class":380,"line":459},8,[378,461,462],{"class":388},"});\n",[368,464,469],{"className":465,"code":466,"filename":467,"language":468,"meta":5,"style":5},"language-json shiki shiki-themes github-light github-dark github-dark","{\n  \"type\": \"module\",\n  \"imports\": {\n    \"#server/*\": \"./server/*\"\n  },\n  \"scripts\": {\n    \"build\": \"nitro build\",\n    \"dev\": \"nitro dev\",\n    \"preview\": \"node .output/server/index.mjs\"\n  },\n  \"devDependencies\": {\n    \"nitro\": \"latest\"\n  }\n}\n","package.json","json",[375,470,471,476,489,497,507,511,518,530,542,553,558,566,577,583],{"__ignoreMap":5},[378,472,473],{"class":380,"line":381},[378,474,475],{"class":388},"{\n",[378,477,478,481,484,487],{"class":380,"line":402},[378,479,480],{"class":431},"  \"type\"",[378,482,483],{"class":388},": ",[378,485,486],{"class":395},"\"module\"",[378,488,434],{"class":388},[378,490,491,494],{"class":380,"line":409},[378,492,493],{"class":431},"  \"imports\"",[378,495,496],{"class":388},": {\n",[378,498,499,502,504],{"class":380,"line":425},[378,500,501],{"class":431},"    \"#server/*\"",[378,503,483],{"class":388},[378,505,506],{"class":395},"\"./server/*\"\n",[378,508,509],{"class":380,"line":437},[378,510,456],{"class":388},[378,512,513,516],{"class":380,"line":443},[378,514,515],{"class":431},"  \"scripts\"",[378,517,496],{"class":388},[378,519,520,523,525,528],{"class":380,"line":453},[378,521,522],{"class":431},"    \"build\"",[378,524,483],{"class":388},[378,526,527],{"class":395},"\"nitro build\"",[378,529,434],{"class":388},[378,531,532,535,537,540],{"class":380,"line":459},[378,533,534],{"class":431},"    \"dev\"",[378,536,483],{"class":388},[378,538,539],{"class":395},"\"nitro dev\"",[378,541,434],{"class":388},[378,543,545,548,550],{"class":380,"line":544},9,[378,546,547],{"class":431},"    \"preview\"",[378,549,483],{"class":388},[378,551,552],{"class":395},"\"node .output/server/index.mjs\"\n",[378,554,556],{"class":380,"line":555},10,[378,557,456],{"class":388},[378,559,561,564],{"class":380,"line":560},11,[378,562,563],{"class":431},"  \"devDependencies\"",[378,565,496],{"class":388},[378,567,569,572,574],{"class":380,"line":568},12,[378,570,571],{"class":431},"    \"nitro\"",[378,573,483],{"class":388},[378,575,576],{"class":395},"\"latest\"\n",[378,578,580],{"class":380,"line":579},13,[378,581,582],{"class":388},"  }\n",[378,584,586],{"class":380,"line":585},14,[378,587,588],{"class":388},"}\n",[368,590,593],{"className":465,"code":591,"filename":592,"language":468,"meta":5,"style":5},"{\n  \"extends\": \"nitro/tsconfig\",\n  \"compilerOptions\": {\n    \"paths\": {\n      \"~server/*\": [\"./server/*\"]\n    }\n  }\n}\n","tsconfig.json",[375,594,595,599,611,618,625,639,644,648],{"__ignoreMap":5},[378,596,597],{"class":380,"line":381},[378,598,475],{"class":388},[378,600,601,604,606,609],{"class":380,"line":402},[378,602,603],{"class":431},"  \"extends\"",[378,605,483],{"class":388},[378,607,608],{"class":395},"\"nitro/tsconfig\"",[378,610,434],{"class":388},[378,612,613,616],{"class":380,"line":409},[378,614,615],{"class":431},"  \"compilerOptions\"",[378,617,496],{"class":388},[378,619,620,623],{"class":380,"line":425},[378,621,622],{"class":431},"    \"paths\"",[378,624,496],{"class":388},[378,626,627,630,633,636],{"class":380,"line":437},[378,628,629],{"class":431},"      \"~server/*\"",[378,631,632],{"class":388},": [",[378,634,635],{"class":395},"\"./server/*\"",[378,637,638],{"class":388},"]\n",[378,640,641],{"class":380,"line":443},[378,642,643],{"class":388},"    }\n",[378,645,646],{"class":380,"line":453},[378,647,582],{"class":388},[378,649,650],{"class":380,"line":459},[378,651,588],{"class":388},[368,653,656],{"className":370,"code":654,"filename":655,"language":373,"meta":5,"style":5},"import { defineConfig } from \"vite\";\nimport { nitro } from \"nitro/vite\";\n\nexport default defineConfig({ plugins: [nitro()] });\n","vite.config.ts",[375,657,658,671,685,689],{"__ignoreMap":5},[378,659,660,662,664,666,669],{"class":380,"line":381},[378,661,385],{"class":384},[378,663,389],{"class":388},[378,665,392],{"class":384},[378,667,668],{"class":395}," \"vite\"",[378,670,399],{"class":388},[378,672,673,675,678,680,683],{"class":380,"line":402},[378,674,385],{"class":384},[378,676,677],{"class":388}," { nitro } ",[378,679,392],{"class":384},[378,681,682],{"class":395}," \"nitro/vite\"",[378,684,399],{"class":388},[378,686,687],{"class":380,"line":409},[378,688,406],{"emptyLinePlaceholder":405},[378,690,691,693,695,697,700,703],{"class":380,"line":425},[378,692,412],{"class":384},[378,694,415],{"class":384},[378,696,419],{"class":418},[378,698,699],{"class":388},"({ plugins: [",[378,701,702],{"class":418},"nitro",[378,704,705],{"class":388},"()] });\n",[368,707,709],{"className":370,"code":708,"filename":366,"language":373,"meta":5,"style":5},"import { sum } from \"~server/utils/math.ts\";\n\nimport { rand } from \"#server/utils/math.ts\";\n\nexport default () => {\n  const [a, b] = [rand(1, 10), rand(1, 10)];\n  const result = sum(a, b);\n  return `The sum of ${a} + ${b} = ${result}`;\n};\n",[375,710,711,725,729,743,747,762,817,833,859],{"__ignoreMap":5},[378,712,713,715,718,720,723],{"class":380,"line":381},[378,714,385],{"class":384},[378,716,717],{"class":388}," { sum } ",[378,719,392],{"class":384},[378,721,722],{"class":395}," \"~server/utils/math.ts\"",[378,724,399],{"class":388},[378,726,727],{"class":380,"line":402},[378,728,406],{"emptyLinePlaceholder":405},[378,730,731,733,736,738,741],{"class":380,"line":409},[378,732,385],{"class":384},[378,734,735],{"class":388}," { rand } ",[378,737,392],{"class":384},[378,739,740],{"class":395}," \"#server/utils/math.ts\"",[378,742,399],{"class":388},[378,744,745],{"class":380,"line":425},[378,746,406],{"emptyLinePlaceholder":405},[378,748,749,751,753,756,759],{"class":380,"line":437},[378,750,412],{"class":384},[378,752,415],{"class":384},[378,754,755],{"class":388}," () ",[378,757,758],{"class":384},"=>",[378,760,761],{"class":388}," {\n",[378,763,764,767,770,773,776,779,782,785,787,790,793,796,798,801,804,806,808,810,812,814],{"class":380,"line":443},[378,765,766],{"class":384},"  const",[378,768,769],{"class":388}," [",[378,771,772],{"class":431},"a",[378,774,775],{"class":388},", ",[378,777,778],{"class":431},"b",[378,780,781],{"class":388},"] ",[378,783,784],{"class":384},"=",[378,786,769],{"class":388},[378,788,789],{"class":418},"rand",[378,791,792],{"class":388},"(",[378,794,795],{"class":431},"1",[378,797,775],{"class":388},[378,799,800],{"class":431},"10",[378,802,803],{"class":388},"), ",[378,805,789],{"class":418},[378,807,792],{"class":388},[378,809,795],{"class":431},[378,811,775],{"class":388},[378,813,800],{"class":431},[378,815,816],{"class":388},")];\n",[378,818,819,821,824,827,830],{"class":380,"line":453},[378,820,766],{"class":384},[378,822,823],{"class":431}," result",[378,825,826],{"class":384}," =",[378,828,829],{"class":418}," sum",[378,831,832],{"class":388},"(a, b);\n",[378,834,835,838,841,843,846,848,851,854,857],{"class":380,"line":459},[378,836,837],{"class":384},"  return",[378,839,840],{"class":395}," `The sum of ${",[378,842,772],{"class":388},[378,844,845],{"class":395},"} + ${",[378,847,778],{"class":388},[378,849,850],{"class":395},"} = ${",[378,852,853],{"class":388},"result",[378,855,856],{"class":395},"}`",[378,858,399],{"class":388},[378,860,861],{"class":380,"line":544},[378,862,863],{"class":388},"};\n",[368,865,868],{"className":370,"code":866,"filename":867,"language":373,"meta":5,"style":5},"export function rand(min: number, max: number): number {\n  return Math.floor(Math.random() * (max - min + 1)) + min;\n}\n\nexport function sum(a: number, b: number): number {\n  return a + b;\n}\n","server/utils/math.ts",[375,869,870,910,955,959,963,995,1007],{"__ignoreMap":5},[378,871,872,874,877,880,882,886,889,892,894,897,899,901,904,906,908],{"class":380,"line":381},[378,873,412],{"class":384},[378,875,876],{"class":384}," function",[378,878,879],{"class":418}," rand",[378,881,792],{"class":388},[378,883,885],{"class":884},"sQHwn","min",[378,887,888],{"class":384},":",[378,890,891],{"class":431}," number",[378,893,775],{"class":388},[378,895,896],{"class":884},"max",[378,898,888],{"class":384},[378,900,891],{"class":431},[378,902,903],{"class":388},")",[378,905,888],{"class":384},[378,907,891],{"class":431},[378,909,761],{"class":388},[378,911,912,914,917,920,923,926,929,932,935,938,941,944,947,950,952],{"class":380,"line":402},[378,913,837],{"class":384},[378,915,916],{"class":388}," Math.",[378,918,919],{"class":418},"floor",[378,921,922],{"class":388},"(Math.",[378,924,925],{"class":418},"random",[378,927,928],{"class":388},"() ",[378,930,931],{"class":384},"*",[378,933,934],{"class":388}," (max ",[378,936,937],{"class":384},"-",[378,939,940],{"class":388}," min ",[378,942,943],{"class":384},"+",[378,945,946],{"class":431}," 1",[378,948,949],{"class":388},")) ",[378,951,943],{"class":384},[378,953,954],{"class":388}," min;\n",[378,956,957],{"class":380,"line":409},[378,958,588],{"class":388},[378,960,961],{"class":380,"line":425},[378,962,406],{"emptyLinePlaceholder":405},[378,964,965,967,969,971,973,975,977,979,981,983,985,987,989,991,993],{"class":380,"line":437},[378,966,412],{"class":384},[378,968,876],{"class":384},[378,970,829],{"class":418},[378,972,792],{"class":388},[378,974,772],{"class":884},[378,976,888],{"class":384},[378,978,891],{"class":431},[378,980,775],{"class":388},[378,982,778],{"class":884},[378,984,888],{"class":384},[378,986,891],{"class":431},[378,988,903],{"class":388},[378,990,888],{"class":384},[378,992,891],{"class":431},[378,994,761],{"class":388},[378,996,997,999,1002,1004],{"class":380,"line":443},[378,998,837],{"class":384},[378,1000,1001],{"class":388}," a ",[378,1003,943],{"class":384},[378,1005,1006],{"class":388}," b;\n",[378,1008,1009],{"class":380,"line":453},[378,1010,588],{"class":388},[1012,1013,1014,1015,1018,1019,1022],"p",{},"Import aliases like ",[375,1016,1017],{},"~"," and ",[375,1020,1021],{},"#"," let you reference modules with shorter paths instead of relative imports.",[1024,1025,1027],"h2",{"id":1026},"importing-using-aliases","Importing Using Aliases",[368,1029,1030],{"className":370,"code":708,"filename":366,"language":373,"meta":5,"style":5},[375,1031,1032,1044,1048,1060,1064,1076,1118,1130,1150],{"__ignoreMap":5},[378,1033,1034,1036,1038,1040,1042],{"class":380,"line":381},[378,1035,385],{"class":384},[378,1037,717],{"class":388},[378,1039,392],{"class":384},[378,1041,722],{"class":395},[378,1043,399],{"class":388},[378,1045,1046],{"class":380,"line":402},[378,1047,406],{"emptyLinePlaceholder":405},[378,1049,1050,1052,1054,1056,1058],{"class":380,"line":409},[378,1051,385],{"class":384},[378,1053,735],{"class":388},[378,1055,392],{"class":384},[378,1057,740],{"class":395},[378,1059,399],{"class":388},[378,1061,1062],{"class":380,"line":425},[378,1063,406],{"emptyLinePlaceholder":405},[378,1065,1066,1068,1070,1072,1074],{"class":380,"line":437},[378,1067,412],{"class":384},[378,1069,415],{"class":384},[378,1071,755],{"class":388},[378,1073,758],{"class":384},[378,1075,761],{"class":388},[378,1077,1078,1080,1082,1084,1086,1088,1090,1092,1094,1096,1098,1100,1102,1104,1106,1108,1110,1112,1114,1116],{"class":380,"line":443},[378,1079,766],{"class":384},[378,1081,769],{"class":388},[378,1083,772],{"class":431},[378,1085,775],{"class":388},[378,1087,778],{"class":431},[378,1089,781],{"class":388},[378,1091,784],{"class":384},[378,1093,769],{"class":388},[378,1095,789],{"class":418},[378,1097,792],{"class":388},[378,1099,795],{"class":431},[378,1101,775],{"class":388},[378,1103,800],{"class":431},[378,1105,803],{"class":388},[378,1107,789],{"class":418},[378,1109,792],{"class":388},[378,1111,795],{"class":431},[378,1113,775],{"class":388},[378,1115,800],{"class":431},[378,1117,816],{"class":388},[378,1119,1120,1122,1124,1126,1128],{"class":380,"line":453},[378,1121,766],{"class":384},[378,1123,823],{"class":431},[378,1125,826],{"class":384},[378,1127,829],{"class":418},[378,1129,832],{"class":388},[378,1131,1132,1134,1136,1138,1140,1142,1144,1146,1148],{"class":380,"line":459},[378,1133,837],{"class":384},[378,1135,840],{"class":395},[378,1137,772],{"class":388},[378,1139,845],{"class":395},[378,1141,778],{"class":388},[378,1143,850],{"class":395},[378,1145,853],{"class":388},[378,1147,856],{"class":395},[378,1149,399],{"class":388},[378,1151,1152],{"class":380,"line":544},[378,1153,863],{"class":388},[1012,1155,1156,1157,1160,1161,1018,1164,1166,1167,1170,1171,1173],{},"The route imports the ",[375,1158,1159],{},"sum"," function using ",[375,1162,1163],{},"~server/",[375,1165,789],{}," using ",[375,1168,1169],{},"#server/",". Both resolve to the same ",[375,1172,867],{}," file. The handler generates two random numbers and returns their sum.",[1024,1175,33],{"id":1176},"configuration",[1012,1178,1179,1180,1182,1183,1185],{},"Aliases can be configured in ",[375,1181,467],{}," imports field or ",[375,1184,372],{},".",[1024,1187,1189],{"id":1188},"learn-more","Learn More",[1191,1192,1193],"ul",{},[1194,1195,1196],"li",{},[772,1197,33],{"href":34},[1199,1200,1201],"style",{},"html pre.shiki code .so5gQ, html code.shiki .so5gQ{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#F97583}html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html pre.shiki code .shcOC, html code.shiki .shcOC{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#B392F0}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}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 .sQHwn, html code.shiki .sQHwn{--shiki-light:#E36209;--shiki-default:#FFAB70;--shiki-dark:#FFAB70}",{"title":5,"searchDepth":402,"depth":402,"links":1203},[1204,1205,1206],{"id":1026,"depth":402,"text":1027},{"id":1176,"depth":402,"text":33},{"id":1188,"depth":402,"text":1189},"md","i-lucide-at-sign",{"automd":405},{},{"title":272,"description":273},"examples/import-alias/README","iWhA3pYP4A0wi5Mk0X-GqFEXXGlJj2i5QnDRJynw1mw",[1215,1218],{"title":235,"path":1216,"stem":1217,"description":236,"children":-1},"/examples/auto-imports","examples/auto-imports/README",{"title":296,"path":1219,"stem":1220,"description":297,"children":-1},"/examples/runtime-config","examples/runtime-config/README",1773176975792]