[{"data":1,"prerenderedAt":1950},["ShallowReactive",2],{"\u002Fdocs\u002Fgetting-started\u002Finstallation":3,"dl-navigation-docs":1060,"shared":1405,"surroundings-\u002Fdocs\u002Fgetting-started\u002Finstallation":1944},{"id":4,"title":5,"_llmSection":6,"_local":6,"_schemaOrg":6,"_seo":6,"body":7,"description":1051,"extension":1052,"ignore":6,"meta":1053,"navigation":1054,"path":1055,"seo":1056,"sitemap":1057,"stem":1058,"__hash__":1059},"docs\u002Fdocs\u002F01.getting-started\u002F02.installation.md","Installation",null,{"type":8,"value":9,"toc":1029},"minimark",[10,46,95,259,272,314,408,517,546,595,636,691,779,830,939,981],[11,12,15,39],"dl-callout",{"title":13,"type":14},"Before The Start","warning",[16,17,18,19,26,27,32,33,38],"p",{},"We assume you have a basic understanding of ",[20,21,22],"strong",{},[23,24,25],"dl-link",{},"$typescript",". That said, we think that you won’t need any great in-depth technical field knowledge. Naturally, being familiar with some general concepts (especially of ",[20,28,29],{},[23,30,31],{},"$vue"," & ",[20,34,35],{},[23,36,37],{},"$nuxt",") will help you get started more easily.",[16,40,41,42,45],{},"Don't worry - ",[20,43,44],{},"we'll explain everything step by step",", giving you all the context you need to understand each part and concept in the application. Our goal is to help you create amazing content with confidence.",[47,48,50,53],"dl-section",{"id":49},"installation",[51,52,5],"h2",{"id":49},[16,54,55,56,59,60,69,70,77,78,85,86,90,91,94],{},"To start working with ",[20,57,58],{},"DocLayer",", you’ll need a few prerequisites: a recent version of ",[20,61,62],{},[63,64,68],"a",{"href":65,"rel":66},"https:\u002F\u002Fnodejs.org\u002Fen",[67],"nofollow","Node.js"," and the ",[20,71,72],{},[63,73,76],{"href":74,"rel":75},"https:\u002F\u002Fpnpm.io\u002F",[67],"pnpm"," ",[20,79,80],{},[63,81,84],{"href":82,"rel":83},"https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FLearn_web_development\u002FExtensions\u002FClient-side_tools\u002FPackage_management",[67],"package manager",". In the meantime you'll also clone (download) the ",[23,87,89],{"label":88},"DocLayer **Boilerplate** repository","$dl-boilerplate",", think of this as a ",[20,92,93],{},"starter template"," that includes all the essential \"components\" you’ll need, so you can begin working right away.",[47,96,98,102,106,109],{"id":97},"install-prerequisites",[99,100,101],"h3",{"id":97},"Install prerequisites",[103,104,105],"dl-prompter",{},"how to install this module doclayer prerequisites",[16,107,108],{},"Please follow steps below to add prerequisites, selecting a way of the application assembly, further installing dependencies, and running everything together.",[110,111,112,174],"dl-stepper",{},[113,114,116,119,132,135,148,157],"template",{"v-slot:step-1|Install Node.js":115},"",[16,117,118],{},"First, ensure you have a recent version of Node.js installed. To check your current version, run:",[120,121,122],"dl-code",{},[123,124,129],"pre",{"className":125,"code":127,"language":128,"meta":115},[126],"language-bash","node -v\n# v20.20.0  # You should see something similar\n\"cref:qv8b84\"\n","bash",[130,131,127],"code",{"__ignoreMap":115},[16,133,134],{},"You’ll need Node.js in one of the following version ranges:",[120,136,137,143],{},[123,138,141],{"className":139,"code":140,"language":128,"meta":115},[126],"^20.22.0 || ^22.22.0\n\"cref:zm1yg3\"\n",[130,142,140],{"__ignoreMap":115},[113,144,145],{"v-slot:ui":115},[16,146,147],{},"{ \"actions\": \"() => 'hidden'\" }",[16,149,150,151,156],{},"If your version doesn’t match, download and install the latest version from the ",[63,152,155],{"href":153,"rel":154},"https:\u002F\u002Fnodejs.org\u002Fen\u002Fdownload",[67],"official Node.js website",". The site will guide you to the right installer for your operating system.",[11,158,161],{"title":159,"type":160},"false","note",[16,162,163,164,169,170,173],{},"If you're using ",[63,165,168],{"href":166,"rel":167},"https:\u002F\u002Fgithub.com\u002Fnvm-sh\u002Fnvm",[67],"nvm"," to manage your Node versions, simply run the ",[130,171,172],{},"nvm use"," command to select the appropriate version.",[113,175,176,201,210,218,228,236,251],{"v-slot:step-2|Install `pnpm`":115},[11,177,179,182],{"title":178},"Why pnpm?",[16,180,181],{},"We use pnpm as our package manager to handle all repository processes and workflows. It’s fast, efficient, safe, and offers more features than npm. We recommend you to pick it as well.",[16,183,184,185,192,193,200],{},"DocLayer has been tested along with ",[20,186,187],{},[63,188,191],{"href":189,"rel":190},"https:\u002F\u002Fnodejs.org\u002Fen\u002Flearn\u002Fgetting-started\u002Fan-introduction-to-the-npm-package-manager",[67],"npm"," and ",[20,194,195],{},[63,196,199],{"href":197,"rel":198},"https:\u002F\u002Fbun.com\u002F",[67],"bun",", so if you prefer to use different package manager feel free to go with it - no pressure 😉",[16,202,203,204,206,207,209],{},"To install ",[130,205,76],{}," you can use ",[20,208,191],{},":",[120,211,212],{},[123,213,216],{"className":214,"code":215,"language":128,"meta":115},[126],"npm install -g pnpm\n\"cref:n8nzgb\"\n",[130,217,215],{"__ignoreMap":115},[16,219,220,221,209],{},"or, through the ",[20,222,223],{},[63,224,227],{"href":225,"rel":226},"https:\u002F\u002Fgithub.com\u002Fnodejs\u002Fcorepack#readme",[67],"Corepack",[120,229,230],{},[123,231,234],{"className":232,"code":233,"language":128,"meta":115},[126],"npm install --global corepack@latest\ncorepack enable pnpm\n\"cref:bchd4f\"\n",[130,235,233],{"__ignoreMap":115},[16,237,238,239,242,243,246,247,250],{},"Additionally, you can pick the version you want to work with. With command below it will use version assigned with ",[130,240,241],{},"packageManager"," property in the ",[20,244,245],{},"Boilerplate","'s ",[130,248,249],{},"package.json"," file.",[120,252,253],{},[123,254,257],{"className":255,"code":256,"language":128,"meta":115},[126],"corepack use pnpm\n\"cref:ad15s5\"\n",[130,258,256],{"__ignoreMap":115},[47,260,262,265],{"id":261},"assemble-the-application",[51,263,264],{"id":261},"Assemble the application",[16,266,267,268,271],{},"Now ",[20,269,270],{},"you have two options to run the DocLayer-based app",": you can either use the Boilerplate (an already prepared and well-established app), or add it manually yourself.",[47,273,275,278,281,284,295,303],{"id":274},"run-with-boilerplate",[99,276,277],{"id":274},"Run with Boilerplate",[103,279,280],{},"how to install this module doclayer with the Boilerplate",[103,282,283],{},"how to add install boilerplate",[16,285,286,287,291,292,294],{},"Use ",[23,288,290],{"label":289},"DocLayer's CLI","$docs-advanced-cli"," to create a new project on top of the ",[20,293,245],{},".",[120,296,297],{},[123,298,301],{"className":299,"code":300,"language":128,"meta":115},[126],"pnpx @vuehouse\u002Fdl-cli@latest init\n\"cref:859i8i\"\n",[130,302,300],{"__ignoreMap":115},[16,304,305,306,294],{},"Alternatively, ",[63,307,310,311,313],{"href":308,"rel":309},"https:\u002F\u002Fgithub.com\u002Fnew?template_name=doclayer-bp&template_owner=vuehouse",[67],"use ",[20,312,245],{}," as a template",[47,315,317,320,323,326,397],{"id":316},"run-on-your-own",[99,318,319],{"id":316},"Run on your own",[103,321,322],{},"add install doclayer to an existing built application project",[16,324,325],{},"If you prefer not to start with the preconfigured Boilerplate application, you can always add DocLayer to your application separately. Since it's a Nuxt Module and the process is straightforward, please follow the steps below to achieve the same result.",[110,327,328,368,381],{},[113,329,330,342,355],{"v-slot:step-1|Add dependencies to your `package.json` file":115},[120,331,334],{"tabs":332,"max-height":333},"terminal.sh","1000rem",[123,335,340],{"className":336,"code":338,"language":339,"meta":115},[337],"language-json","pnpm add\n    @vuehouse\u002Fdl\n    @vuehouse\u002Fdl-mdl-rules\n\npnpm add -D\n    @iconify-json\u002Fbi\n    @iconify-json\u002Flucide\n    @iconify-json\u002Fvscode-icons\n\"cref:vnqitq\"\n","json",[130,341,338],{"__ignoreMap":115},[343,344,345],"blockquote",{},[16,346,347,348,192,351,354],{},"We assume that the ",[130,349,350],{},"nuxt",[130,352,353],{},"@nuxt\u002Fcontent"," dependencies are already installed in your application.",[343,356,357],{},[16,358,359,360,364,365,367],{},"As package versions may vary the most current ones can be found in the ",[63,361,249],{"href":362,"rel":363},"https:\u002F\u002Fgithub.com\u002Fvuehouse\u002Fdoclayer-bp\u002Fblob\u002Fmain\u002Fpackage.json",[67]," file of the main DocLayer ",[20,366,245],{}," repository.",[113,369,370],{"v-slot:step-2|Add module to your `nuxt.config.ts` file":115},[120,371,373],{"tabs":372,"max-height":333},"nuxt.config.ts",[123,374,379],{"className":375,"code":377,"language":378,"meta":115},[376],"language-ts","export default defineNuxtConfig({\n  compatibilityDate: '2026-01-01',\n  modules: ['@vuehouse\u002Fdl'],\n});\n\"cref:k6p468\"\n","ts",[130,380,377],{"__ignoreMap":115},[113,382,383],{"v-slot:step-3|Create your `app.config.ts` file":115},[16,384,385,386,390,391,396],{},"Since ",[23,387,389],{"label":388},"configuration","$docs-guidelines-configuration"," relies on this file - and you'll likely use it frequently when creating content - we recommend creating it and using the dedicated ",[23,392,395],{"label":393,"hash":394},"`defineDoclayerAppConfig`","definedoclayerappconfig","$docs-utils-macros"," macro function for full type safety and coverage.",[16,398,399,400,403,404,294],{},"That's it - DocLayer will handle the rest. Additionally, we recommend adding ",[130,401,402],{},"markdownlint"," and its configuration. More about this, as well as other internal tools and their predefined setups, ",[23,405,407],{"label":406},"you can read here","$docs-guidelines-internals",[47,409,411,414,417],{"id":410},"install-dependencies",[51,412,413],{"id":410},"Install dependencies",[16,415,416],{},"Finally, let's install all the dependencies, running the Boilerplate application just after.",[110,418,419,435],{},[113,420,421,427],{"v-slot:step-1|Install dependencies":115},[16,422,423,424,426],{},"Enter the newly created folder with Boilerplate to install all of the DocLayer's dependencies. Note that ",[130,425,76],{}," caches all dependencies globally, so future installations will use them from its store. This makes the installation process much faster and more efficient.",[120,428,429],{},[123,430,433],{"className":431,"code":432,"language":128,"meta":115},[126],"# enter the Boilerplate directory\ncd doclayer\n# install the Boilerplate dependencies\npnpm i\n\"cref:ht8o17\"\n",[130,434,432],{"__ignoreMap":115},[113,436,437,452,460,472,493,496,504],{"v-slot:step-2|Run `prepare` script":115},[16,438,439,440,443,444,447,448,451],{},"Before running DocLayer for the first time, ",[20,441,442],{},"you need to prepare some resources"," by running the ",[130,445,446],{},"prepare"," script. Typically, this is included as part of the ",[130,449,450],{},"postinstall"," process. Running this script will also generate all the necessary Nuxt internals required by DocLayer.",[120,453,454],{},[123,455,458],{"className":456,"code":457,"language":128,"meta":115},[126],"# run the prepare process\npnpm prepare\n\"cref:57730f\"\n",[130,459,457],{"__ignoreMap":115},[16,461,462,463,465,466,294],{},"The ",[130,464,446],{}," process also performs several automations to set up your application before the first run. ",[467,468,471],"dl-renderer",{":data":469,"inline":470},"{\"link\":\"$docs-guidelines-internals\", \"about\": \"these automations\", \"hash\": \"automations\"}","true","rref:inline-read-more-about",[11,473,475,485],{"title":474,"type":14},"No content configuration found",[16,476,477,478,480,481,484],{},"While running the ",[130,479,446],{}," process, ",[20,482,483],{},"you may encounter a warning about missing content configuration",". This happens because the root preparation removes the content configuration file, which will be automatically added again when you run your application in development mode or during the build process.",[120,486,487],{},[123,488,491],{"className":489,"code":490,"language":128,"meta":115},[126],"WARN: No content configuration found, falling back to default collection. In order to have full control over your collections, create the config file in project root. See: https:\u002F\u002Fcontent.nuxt.com\u002Fdocs\u002Fgetting-started\u002Finstallation\n",[130,492,490],{"__ignoreMap":115},[16,494,495],{},"Start the application in development mode.",[120,497,498],{},[123,499,502],{"className":500,"code":501,"language":128,"meta":115},[126],"# start the Boilerplate application\npnpm dev\n\"cref:tk4zh1\"\n",[130,503,501],{"__ignoreMap":115},[11,505,506],{"title":159,"type":160},[16,507,508,509,77,512,516],{},"[[esc]]Everything about ",[20,510,511],{},"building your application",[23,513,515],{"label":514}," you can find here","$docs-deployment",".[[\u002Fesc]]",[47,518,520,523,535,543],{"id":519},"module-configuration",[51,521,522],{"id":519},"Module configuration",[16,524,525,526,528,529,532,533,294],{},"Development-related ",[20,527,388],{}," (options) ",[20,530,531],{},"defined close to the module itself",". This configuration controls internal features, does not affect your application's visual behavior, and is generally not necessary during content creation, meaning that the defaults are quite sufficient. This is how you can define it along with the ",[130,534,372],{},[120,536,537],{"tabs":372},[123,538,541],{"className":539,"code":540,"language":378,"meta":115},[376],"export default defineNuxtConfig({\n  compatibilityDate: '2026-01-01',\n  modules: ['@vuehouse\u002Fdl'],\n  dl: {\n    \u002F\u002F module configuration (options) goes here\n  },\n});\n\"cref:wbo8pf\"\n",[130,542,540],{"__ignoreMap":115},[16,544,545],{},"The options themselves:",[47,547,549,554,557],{"id":548},"basetimeout",[99,550,551],{"id":548},[130,552,553],{},"baseTimeout",[16,555,556],{},"Timeout value used across the application, mainly to avoid hydration issues or to \"relax\" the main application thread. We recommend not changing this unless necessary.",[558,559,560,576],"table",{},[561,562,563],"thead",{},[564,565,566,570,573],"tr",{},[567,568,569],"th",{},"type",[567,571,572],{},"default",[567,574,575],{},"required",[577,578,579],"tbody",{},[564,580,581,587,592],{},[582,583,584],"td",{},[130,585,586],{},"number",[582,588,589],{},[130,590,591],{},"500",[582,593,594],{},"no",[47,596,598,602,609],{"id":597},"debug",[99,599,600],{"id":597},[130,601,597],{},[16,603,604,605,608],{},"Enables debug mode for DocLayer. This will log context data, disabled warnings, and dedicated process logs during runtime or build time. It's based on the ",[130,606,607],{},"DL_DEBUG"," environment variable.",[558,610,611,621],{},[561,612,613],{},[564,614,615,617,619],{},[567,616,569],{},[567,618,572],{},[567,620,575],{},[577,622,623],{},[564,624,625,630,634],{},[582,626,627],{},[130,628,629],{},"boolean",[582,631,632],{},[130,633,159],{},[582,635,594],{},[47,637,639,644,665],{"id":638},"mdlconvert",[99,640,641],{"id":638},[130,642,643],{},"mdlConvert",[16,645,646,647,650,651,654,655,657,658,660,661,664],{},"Controls whether to convert ",[130,648,649],{},".markdownlint.js"," into ",[130,652,653],{},".markdownlint.json"," during ",[130,656,446],{}," process. Enables ",[23,659,407],{"label":402,"hash":402}," CLI usage (JSON + ",[130,662,663],{},"--rules",") from the app's markdownlint config.",[558,666,667,677],{},[561,668,669],{},[564,670,671,673,675],{},[567,672,569],{},[567,674,572],{},[567,676,575],{},[577,678,679],{},[564,680,681,685,689],{},[582,682,683],{},[130,684,629],{},[582,686,687],{},[130,688,470],{},[582,690,594],{},[47,692,694,698,705,731,738,753],{"id":693},"experimental",[99,695,696],{"id":693},[130,697,693],{},[16,699,700,701,704],{},"Object with flags that enables experimental features in DocLayer. Be aware that all of these are ",[20,702,703],{},"disabled by default",". Below you can find the available flags to switch.",[558,706,707,717],{},[561,708,709],{},[564,710,711,713,715],{},[567,712,569],{},[567,714,572],{},[567,716,575],{},[577,718,719],{},[564,720,721,726,729],{},[582,722,723],{},[130,724,725],{},"{ llmSummary: boolean }",[582,727,728],{},"see below",[582,730,594],{},[732,733,735],"h4",{"id":734},"experimentalllmsummary",[130,736,737],{},"experimental.llmSummary",[16,739,740,77,743,77,746,749,750,294],{},[20,741,742],{},"Enables AI-based summaries for",[130,744,745],{},"llms.txt",[20,747,748],{},"sections",". ",[467,751,471],{":data":752,"inline":470},"{\"about\": \"AI-based summaries for llms.txt sections\", \"link\": \"$docs-guidelines-internals\", \"hash\": \"experimental-ai-based-summaries\"}",[558,754,755,765],{},[561,756,757],{},[564,758,759,761,763],{},[567,760,569],{},[567,762,572],{},[567,764,575],{},[577,766,767],{},[564,768,769,773,777],{},[582,770,771],{},[130,772,629],{},[582,774,775],{},[130,776,159],{},[582,778,594],{},[47,780,782,787,804],{"id":781},"sanitizehtml",[99,783,784],{"id":781},[130,785,786],{},"sanitizeHTML",[16,788,789,790,795,796,294],{},"Disables inline HTML sanitization. This option is closely linked with ",[23,791,794],{"label":792,"hash":793},"`utilSafeHTML`","utilsafehtml","$docs-utils-utilities",", which is used throughout the codebase to ensure safe HTML rendering via the ",[63,797,800,803],{"href":798,"rel":799},"https:\u002F\u002Fvuejs.org\u002Fapi\u002Fbuilt-in-directives.html#v-html",[67],[130,801,802],{},"v-html"," Vue directive",[558,805,806,816],{},[561,807,808],{},[564,809,810,812,814],{},[567,811,569],{},[567,813,572],{},[567,815,575],{},[577,817,818],{},[564,819,820,824,828],{},[582,821,822],{},[130,823,629],{},[582,825,826],{},[130,827,470],{},[582,829,594],{},[47,831,833,838,870,897,904],{"id":832},"rootprep",[99,834,835],{"id":832},[130,836,837],{},"rootPrep",[16,839,840,841,845,846,849,850,853,854,857,858,860,861,77,864,77,866,869],{},"Controls whether the root preparation process is enabled. This process ",[23,842,407],{"label":843,"hash":844},"automatically adds essential application entry points","automations"," such as ",[130,847,848],{},"app.vue",", ",[130,851,852],{},"error.vue",", and ",[130,855,856],{},"content.config.ts",". If you have custom versions of these files, you can disable the automatic addition by setting this option to ",[130,859,159],{},". Otherwise, ",[20,862,863],{},"every time you run the",[130,865,446],{},[20,867,868],{},"script your custom files will be overwritten",". You can also run it once to add the files and then disable the option to avoid overwriting them in the future.",[558,871,872,882],{},[561,873,874],{},[564,875,876,878,880],{},[567,877,569],{},[567,879,572],{},[567,881,575],{},[577,883,884],{},[564,885,886,891,895],{},[582,887,888],{},[467,889,890],{},"rref:code-type-module-options-root-prep",[582,892,893],{},[130,894,470],{},[582,896,594],{},[16,898,899,900,903],{},"Additionally, ",[20,901,902],{},"the more granular option allows you to disable the automatic addition of specific entry points",". This is how it's resolved:",[905,906,907,919,926],"ul",{},[908,909,910,913,914,849,916,918],"li",{},[130,911,912],{},"components",": adds ",[130,915,848],{},[130,917,852],{}," files.",[908,920,921,913,924,250],{},[130,922,923],{},"configs",[130,925,856],{},[908,927,928,931,932,934,935,938],{},[130,929,930],{},"public",": fulfills ",[130,933,930],{}," directory with icons, ",[130,936,937],{},"robots.txt"," file, etc.",[47,940,942,947,955],{"id":941},"stripprompts",[99,943,944],{"id":941},[130,945,946],{},"stripPrompts",[16,948,949,950,954],{},"Whether to strip (removed from the DOM) prompts added by the ",[23,951,953],{"label":952},"`DlPrompter`","$docs-components-prompter"," component from the final rendered HTML markup.",[558,956,957,967],{},[561,958,959],{},[564,960,961,963,965],{},[567,962,569],{},[567,964,572],{},[567,966,575],{},[577,968,969],{},[564,970,971,975,979],{},[582,972,973],{},[130,974,629],{},[582,976,977],{},[130,978,470],{},[582,980,594],{},[47,982,984,987,996,1020],{"id":983},"environment-variables",[51,985,986],{"id":983},"Environment Variables",[16,988,989,990,995],{},"Inside the ",[991,992],"dl-tooltip",{"label":993,"tooltip":994},"`.env.example`","In-app file path: root directory"," file, you'll find all the environment variables used to customize or configure different areas of the application. In the following pages, we'll explain where and how to use each variable with various features. Though, it's helpful to understand what each one does so you won't be caught off guard later.",[11,997,999,1017],{"title":998,"type":160},"Defaults",[16,1000,1001,1002,1005,1006,1009,1010,1013,1014,294],{},"It's important to note that ",[20,1003,1004],{},"none of these environment variables are defined by default",". You need to create a ",[130,1007,1008],{},".env"," file in your project's root directory to manage them. These ",[20,1011,1012],{},"variables are private and specific to your local environment",". When building and deploying your application, you'll need to set them separately according to your hosting provider's requirements. You can ",[23,1015,515],{"label":1016},"find more about deployment here",[16,1018,1019],{},"Keep in mind that DocLayer provides default values for each environment variable. If you don't define a variable, DocLayer will recognize it and automatically use its default value, as shown below.",[120,1021,1023],{"tabs":1022,"max-height":333},".env.example",[123,1024,1027],{"className":1025,"code":1026,"language":128,"meta":115},[126],"# Enables debug mode.\n# Will display warnings, logs, and errors in your console.\nDL_DEBUG=false\n\n# Sets the CORS origin(s) for the DocLayer security handling.\n# Defined as a comma-separated list of origins.\nDL_SECURITY_CORS_ORIGIN=https:\u002F\u002Fdoclayer.dev\n# Enables production logging, blocked by default by the Security module.\nDL_SECURITY_PROD_LOG=false\n\n# Main tag used to identify the application in the console.\n# Some application areas, like components use `doclayer` tag by default.\nDL_META_TAG=doclayer\n# Domain used across the application (plugins, SEO, security, etc.).\nDL_META_DOMAIN=https:\u002F\u002Fdoclayer.dev\n# Metadata title\nDL_META_TITLE=\"DocLayer.dev | The Smart Content Framework powered by Nuxt\"\n# Metadata description\nDL_META_DESCRIPTION=\"Write anything in Markdown, DocLayer handles the rest. Stunningly.\"\n# Metadata keywords\nDL_META_KEYWORDS=\"vue, nuxt, docs, documentation, content, module, framework, template, typescript, javascript\"\n# Metadata author\nDL_META_AUTHOR=vue.house\n# Metadata robots\nDL_META_ROBOTS=\"noindex, nofollow\"\n\n# Metadata title used by the LLMS Module & Plugin, if not defined the DL_META_TITLE is used.\nDL_LLMS_TITLE=\n# Metadata description used by the LLMS Module & Plugin, if not defined the DL_META_DESCRIPTION is used.\nDL_LLMS_DESCRIPTION=\n\n# Enables Search AI Assistant.\nDL_SEARCH_ASSISTANT=true\n# Provides CDN URL for the Huggingface Transformers.\n# Must be paired with `DL_SEARCH_ASSISTANT` to fully enable AI Assistant.\nDL_SEARCH_ASSISTANT_HFC=https:\u002F\u002Fcdn.jsdelivr.net\u002Fnpm\u002F@huggingface\u002Ftransformers@3.4.2\u002F+esm\n\n# Sets `baseUrl` value for the Nuxt's public runtime config; used for SEO, security, and LLMs metadata; leave empty for local development.\nNUXT_PUBLIC_BASE_URL=https:\u002F\u002Fdoclayer.dev\n# Sets site.url for the Sitemap Module; required for production builds.\nNUXT_PUBLIC_SITE_URL=https:\u002F\u002Fdoclayer.dev\n\n# Resolves Nitro build process timeout, if hanging.\nNITRO_BUILD_TIMEOUT=5000\n# Disables Nitro events logging.\nNITRO_EVENTS=false\n\"cref:u5tkrn\"\n",[130,1028,1026],{"__ignoreMap":115},{"title":115,"searchDepth":1030,"depth":1030,"links":1031},2,[1032,1036,1040,1041,1050],{"id":49,"depth":1030,"text":5,"children":1033},[1034],{"id":97,"depth":1035,"text":101},3,{"id":261,"depth":1030,"text":264,"children":1037},[1038,1039],{"id":274,"depth":1035,"text":277},{"id":316,"depth":1035,"text":319},{"id":410,"depth":1030,"text":413},{"id":519,"depth":1030,"text":522,"children":1042},[1043,1044,1045,1046,1047,1048,1049],{"id":548,"depth":1035,"text":553},{"id":597,"depth":1035,"text":597},{"id":638,"depth":1035,"text":643},{"id":693,"depth":1035,"text":693},{"id":781,"depth":1035,"text":786},{"id":832,"depth":1035,"text":837},{"id":941,"depth":1035,"text":946},{"id":983,"depth":1030,"text":986},"How to install and run DocLayer","md",{},true,"\u002Fdocs\u002Fgetting-started\u002Finstallation",{"title":5,"description":1051},{"loc":1055},"docs\u002F01.getting-started\u002F02.installation","-R_ZMrT1EzNIECYR1viXGAfjN1Yv0-VBu0U0YwXT904",[1061],{"title":1062,"path":1063,"stem":1064,"children":1065,"page":1112},"Docs","\u002Fdocs","docs",[1066,1081,1113,1224,1253,1284,1307,1322,1364,1385],{"title":1067,"path":1068,"stem":1069,"children":1070,"description":6,"icon":1080},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F01.getting-started\u002F01.index",[1071,1074,1075],{"title":1072,"path":1068,"stem":1069,"description":1073},"Introduction","What DocLayer is, who it’s for, and how it can help",{"title":5,"path":1055,"stem":1058,"description":1051},{"title":1076,"path":1077,"stem":1078,"description":1079},"FAQ","\u002Fdocs\u002Fgetting-started\u002Ffaq","docs\u002F01.getting-started\u002F03.faq","Frequently asked questions about DocLayer","rocket",{"title":1082,"description":6,"icon":1083,"path":1084,"stem":1085,"children":1086,"page":1112},"Guidelines","file-pen-line","\u002Fdocs\u002Fguidelines","docs\u002F02.guidelines",[1087,1092,1097,1102,1107],{"title":1088,"path":1089,"stem":1090,"description":1091},"Internals","\u002Fdocs\u002Fguidelines\u002Finternals","docs\u002F02.guidelines\u002F02.internals","How DocLayer's structure, its architecture and internals fit together",{"title":1093,"path":1094,"stem":1095,"description":1096},"Configuration","\u002Fdocs\u002Fguidelines\u002Fconfiguration","docs\u002F02.guidelines\u002F03.configuration","Customize DocLayer via `app.config.ts` and its configuration",{"title":1098,"path":1099,"stem":1100,"description":1101},"Writing Content","\u002Fdocs\u002Fguidelines\u002Fwriting-content","docs\u002F02.guidelines\u002F04.writing-content","Write Markdown with Nuxt Content, DocLayer and prebuilt utilities",{"title":1103,"path":1104,"stem":1105,"description":1106},"Defining Metadata","\u002Fdocs\u002Fguidelines\u002Fdefining-metadata","docs\u002F02.guidelines\u002F05.defining-metadata","Set global and per-page SEO metadata for your DocLayer app",{"title":1108,"path":1109,"stem":1110,"description":1111},"Theming","\u002Fdocs\u002Fguidelines\u002Ftheming","docs\u002F02.guidelines\u002F06.theming","Customize DocLayer’s look with CSS variables and utility classes",false,{"title":1114,"path":1115,"stem":1116,"children":1117,"description":6,"label":1072,"icon":1223},"Components","\u002Fdocs\u002Fcomponents","docs\u002F03.components\u002F01.index",[1118,1121,1127,1132,1137,1142,1147,1152,1157,1162,1167,1172,1177,1182,1188,1193,1198,1203,1208,1213,1218],{"title":1119,"path":1115,"stem":1116,"description":1120,"label":1072},"Components Introduction","Overview of DocLayer’s built-in Markdown content components",{"title":1122,"path":1123,"stem":1124,"description":1125,"label":1126},"Components Building & Styling","\u002Fdocs\u002Fcomponents\u002Fbuilding","docs\u002F03.components\u002F02.building","Create custom content components with DlWrapper","DlWrapper",{"title":1128,"path":1129,"stem":1130,"description":1131},"DlRenderer","\u002Fdocs\u002Fcomponents\u002Frenderer","docs\u002F03.components\u002F03.renderer","Render reusable, shareable Markdown fragments anywhere in your content",{"title":1133,"path":1134,"stem":1135,"description":1136},"DlLink","\u002Fdocs\u002Fcomponents\u002Flink","docs\u002F03.components\u002F04.link","Create internal links resolved from the global path registry",{"title":1138,"path":1139,"stem":1140,"description":1141},"DlCode","\u002Fdocs\u002Fcomponents\u002Fcode","docs\u002F03.components\u002F05.code","Display your code snippets with syntax highlighting, copy, tabs, transformations and more",{"title":1143,"path":1144,"stem":1145,"description":1146},"DlCodeInline","\u002Fdocs\u002Fcomponents\u002Finline-code","docs\u002F03.components\u002F05.inline-code","Display inline code that stays on one line",{"title":1148,"path":1149,"stem":1150,"description":1151},"DlCallout","\u002Fdocs\u002Fcomponents\u002Fcallout","docs\u002F03.components\u002F06.callout","Display notes, warnings, and alerts as type-based callout blocks",{"title":1143,"path":1153,"stem":1154,"description":1146,"badge":1155},"\u002Fdocs\u002Fcomponents\u002Fcode-inline","docs\u002F03.components\u002F06.code-inline",{"label":1156,"glow":1054},"new",{"title":1158,"path":1159,"stem":1160,"description":1161},"DlBadge","\u002Fdocs\u002Fcomponents\u002Fbadge","docs\u002F03.components\u002F07.badge","Show compact type-based status labels",{"title":1163,"path":1164,"stem":1165,"description":1166},"DlImage","\u002Fdocs\u002Fcomponents\u002Fimage","docs\u002F03.components\u002F08.image","Present optimized, responsive images with optional caption and inline styling",{"title":1168,"path":1169,"stem":1170,"description":1171},"DlStepper","\u002Fdocs\u002Fcomponents\u002Fstepper","docs\u002F03.components\u002F09.stepper","List vertical step sequences using named slots",{"title":1173,"path":1174,"stem":1175,"description":1176},"DlTooltip","\u002Fdocs\u002Fcomponents\u002Ftooltip","docs\u002F03.components\u002F10.tooltip","Annotate with contextual configurable tooltips",{"title":1178,"path":1179,"stem":1180,"description":1181},"DlPrompter","\u002Fdocs\u002Fcomponents\u002Fprompter","docs\u002F03.components\u002F11.prompter","Prompt the search index and AI Assistant with hidden, removable content inserts",{"title":1183,"path":1184,"stem":1185,"description":1186,"badge":1187},"DlFormat","\u002Fdocs\u002Fcomponents\u002Fformat","docs\u002F03.components\u002F12.format","Format Markdown content into a structured HTML output",{"label":1156,"glow":1054},{"title":1189,"path":1190,"stem":1191,"description":1192},"DlSection","\u002Fdocs\u002Fcomponents\u002Fsection","docs\u002F03.components\u002F13.section","Wrap and demarcate content sections",{"title":1194,"path":1195,"stem":1196,"description":1197},"DlGrid","\u002Fdocs\u002Fcomponents\u002Fgrid","docs\u002F03.components\u002F14.grid","Lay out named content items in a responsive grid",{"title":1199,"path":1200,"stem":1201,"description":1202},"DlHero","\u002Fdocs\u002Fcomponents\u002Fhero","docs\u002F03.components\u002F20.hero","Present a prominent page hero with title, lead and CTA",{"title":1204,"path":1205,"stem":1206,"description":1207},"DlHeading","\u002Fdocs\u002Fcomponents\u002Fheading","docs\u002F03.components\u002F21.heading","Divide content with section headings",{"title":1209,"path":1210,"stem":1211,"description":1212},"DlFeaturesGrid","\u002Fdocs\u002Fcomponents\u002Ffeatures-grid","docs\u002F03.components\u002F22.features-grid","Render a responsive features grid with animated and formatted tiles",{"title":1214,"path":1215,"stem":1216,"description":1217},"DlNewsletter","\u002Fdocs\u002Fcomponents\u002Fnewsletter","docs\u002F03.components\u002F23.newsletter","Collect newsletter subscriptions with a styled form",{"title":1219,"path":1220,"stem":1221,"description":1222},"DlTypeman","\u002Fdocs\u002Fcomponents\u002Ftypeman","docs\u002F03.components\u002F24.typeman","Animate rotating words with a blinking cursor effect","brick-wall",{"title":1225,"path":1226,"stem":1227,"children":1228,"description":6,"label":1072,"icon":1252},"Utilities","\u002Fdocs\u002Futils","docs\u002F04.utils\u002F01.index",[1229,1232,1236,1241,1246],{"title":1230,"path":1226,"stem":1227,"description":1231,"label":1072},"Utilities Introduction","Helpers, composables, macros, and types for extending DocLayer beyond Markdown",{"title":1225,"path":1233,"stem":1234,"description":1235},"\u002Fdocs\u002Futils\u002Futilities","docs\u002F04.utils\u002F02.utilities","Auto-imported helper functions for common tasks across DocLayer",{"title":1237,"path":1238,"stem":1239,"description":1240},"Composables","\u002Fdocs\u002Futils\u002Fcomposables","docs\u002F04.utils\u002F03.composables","Vue composables for collections, UI resolution, navigation, and content",{"title":1242,"path":1243,"stem":1244,"description":1245},"Macros","\u002Fdocs\u002Futils\u002Fmacros","docs\u002F04.utils\u002F04.macros","Compile-time macros for typed app config, adapters, and component UI",{"title":1247,"path":1248,"stem":1249,"description":1250,"label":1251},"Utility Types","\u002Fdocs\u002Futils\u002Ftypes","docs\u002F04.utils\u002F05.types","TypeScript utilities for safer DocLayer development","Types","tool-case",{"title":1254,"path":1255,"stem":1256,"children":1257,"description":6,"label":1261,"icon":1283},"Adapters","\u002Fdocs\u002Fadapters","docs\u002F05.adapters\u002F01.index",[1258,1262,1267,1273,1278],{"title":1259,"path":1255,"stem":1256,"description":1260,"label":1261},"Building Adapters","Build type-safe adapters to plug external services into DocLayer","Building",{"title":1263,"path":1264,"stem":1265,"description":1266},"Google","\u002Fdocs\u002Fadapters\u002Fgoogle","docs\u002F05.adapters\u002F10.google","Connect DocLayer to Google products through built-in adapters",{"title":1268,"path":1269,"stem":1270,"description":1271,"label":1268,"badge":1272},"PostHog","\u002Fdocs\u002Fadapters\u002Fposthog","docs\u002F05.adapters\u002F11.posthog","Record product analytics with the PostHog analytics adapter",{"label":1156,"glow":1054},{"title":1274,"path":1275,"stem":1276,"description":1277},"Resend","\u002Fdocs\u002Fadapters\u002Fresend","docs\u002F05.adapters\u002F20.resend","Send newsletter emails with the Resend newsletter adapter",{"title":1279,"path":1280,"stem":1281,"description":1282},"Substack","\u002Fdocs\u002Fadapters\u002Fsubstack","docs\u002F05.adapters\u002F21.substack","Subscribe users to Substack via DocLayer’s adapter","circle-fading-plus",{"title":1285,"path":1286,"stem":1287,"children":1288,"description":6,"label":1072,"icon":1306},"Search ✨","\u002Fdocs\u002Fsearch","docs\u002F06.search\u002F01.index",[1289,1292,1297,1301],{"title":1290,"path":1286,"stem":1287,"description":1291,"label":1072},"Search Module Introduction","Brief intro into built-in DocLayer’s Search Module",{"title":1293,"path":1294,"stem":1295,"description":1296},"Installation & Usage","\u002Fdocs\u002Fsearch\u002Fusage","docs\u002F06.search\u002F02.usage","Wire DocLayer’s Search Module into your app",{"title":1093,"path":1298,"stem":1299,"description":1300},"\u002Fdocs\u002Fsearch\u002Fconfiguration","docs\u002F06.search\u002F03.configuration","Configure static search, indexing, and the AI assistant in DocLayer's Search Module",{"title":1302,"path":1303,"stem":1304,"description":1305},"API Reference","\u002Fdocs\u002Fsearch\u002Freference","docs\u002F06.search\u002F04.reference","API reference for DocLayer’s Search Module","scan-search",{"title":1308,"path":1309,"stem":1310,"children":1311,"description":6,"icon":1321},"Deployment","\u002Fdocs\u002Fdeployment","docs\u002F07.deployment\u002F01.index",[1312,1315],{"title":1313,"path":1309,"stem":1310,"description":1314},"Building & Preparations","Build a static DocLayer app and prepare it for hosting",{"title":1316,"path":1317,"stem":1318,"description":1319,"label":1320},"Vercel Deployment","\u002Fdocs\u002Fdeployment\u002Fvercel","docs\u002F07.deployment\u002F02.vercel","Deploy DocLayer to Vercel via UI, CLI, or CI","Vercel","server-crash",{"title":1323,"description":6,"icon":1324,"path":1325,"stem":1326,"children":1327,"page":1112},"Advanced","file-terminal","\u002Fdocs\u002Fadvanced","docs\u002F09.advanced",[1328,1334,1339,1344,1349,1354,1359],{"title":1329,"path":1330,"stem":1331,"description":1332,"label":1333},"DocLayer Monorepo","\u002Fdocs\u002Fadvanced\u002Fmonorepo","docs\u002F09.advanced\u002F02.monorepo","pnpm workspaces, Turborepo, and workflows for the DocLayer monorepo","Monorepo",{"title":1335,"path":1336,"stem":1337,"description":1338},"Globals","\u002Fdocs\u002Fadvanced\u002Fglobals","docs\u002F09.advanced\u002F03.globals","DocLayer’s global instances for easy and quick access",{"title":1340,"path":1341,"stem":1342,"description":1343},"CLI","\u002Fdocs\u002Fadvanced\u002Fcli","docs\u002F09.advanced\u002F04.cli","Use Command Line Interface to extensively menage your DocLayer project",{"title":1345,"path":1346,"stem":1347,"description":1348},"Security","\u002Fdocs\u002Fadvanced\u002Fsecurity","docs\u002F09.advanced\u002F05.security","Security defaults DocLayer ships with Nuxt Security",{"title":1350,"path":1351,"stem":1352,"description":1353},"AI Tuning","\u002Fdocs\u002Fadvanced\u002Fai-tuning","docs\u002F09.advanced\u002F06.ai-tuning","Templates and rules for AGENTS.md, coding agents, and content-author AI",{"title":1355,"path":1356,"stem":1357,"description":1358},"Error Handling","\u002Fdocs\u002Fadvanced\u002Ferror-handling","docs\u002F09.advanced\u002F07.error-handling","How DocLayer validates and reports errors in authoring, build, and production",{"title":1360,"path":1361,"stem":1362,"description":1363},"Troubleshooting","\u002Fdocs\u002Fadvanced\u002Ftroubleshooting","docs\u002F09.advanced\u002F08.troubleshooting","Known DocLayer issues and quick fixes",{"title":1365,"description":6,"icon":1366,"path":1367,"stem":1368,"children":1369,"page":1112},"Project","shield-ellipsis","\u002Fdocs\u002Fproject","docs\u002F10.project",[1370,1375,1380],{"title":1371,"path":1372,"stem":1373,"description":1374},"Contribution","\u002Fdocs\u002Fproject\u002Fcontribution","docs\u002F10.project\u002F01.contribution","How to report issues and when contributions are welcome",{"title":1376,"path":1377,"stem":1378,"description":1379},"Principles","\u002Fdocs\u002Fproject\u002Fethos","docs\u002F10.project\u002F02.ethos","Who we are, what we care about, and how we treat each other",{"title":1381,"path":1382,"stem":1383,"description":1384},"Support","\u002Fdocs\u002Fproject\u002Fsupport","docs\u002F10.project\u002F03.support","Join the Early Supporter Program and help fund DocLayer’s development",{"title":1302,"description":6,"icon":1386,"path":1387,"stem":1388,"children":1389,"page":1112},"file-type","\u002Fdocs\u002Freference","docs\u002F99.reference",[1390,1395,1400],{"title":1391,"path":1392,"stem":1393,"description":1394},"App Config","\u002Fdocs\u002Freference\u002Fapp-config","docs\u002F99.reference\u002F01.app-config","API Reference for DocLayer’s AppConfig",{"title":1396,"path":1397,"stem":1398,"description":1399},"Module Options","\u002Fdocs\u002Freference\u002Fmodule-options","docs\u002F99.reference\u002F01.module-options","API Reference for DocLayer’s ModuleOptions",{"title":1401,"path":1402,"stem":1403,"description":1404},"Content Schema","\u002Fdocs\u002Freference\u002Fcontent-schema","docs\u002F99.reference\u002F02.content-schema","API Reference for DocLayer’s Content Schema",[1406,1428,1449,1470,1498,1514,1531,1557,1578,1624,1645,1657,1672,1689,1701,1760,1778,1804,1829,1860,1904,1931],{"id":1407,"data":6,"extension":1052,"meta":1408,"stem":1426,"__hash__":1427},"shared\u002Fcode-type-header-logo-path.md",{"body":1409},{"type":8,"value":1410,"toc":1424},[1411],[120,1412,1413,1419],{},[123,1414,1417],{"className":1415,"code":1416,"language":378,"meta":115},[376],"type DocLayerConfig = {\n  \u002F\u002F rest of the AppConfig interface\n  headerLogoPath:\n    | string\n    | {\n        light: string;\n        dark: string;\n        fallback?: string;\n      };\n};\n\"cref:k9e5ul\"\n",[130,1418,1416],{"__ignoreMap":115},[113,1420,1421],{"v-slot:ui":115},[16,1422,1423],{},"{\"actions\": \"hidden\", \"base\": \"mt-0!\"}",{"title":115,"searchDepth":1030,"depth":1030,"links":1425},[],"code-type-header-logo-path","551Sg_POiUffLU346shstXNFdKuMuK4ToyOLqIJp1Ws",{"id":1429,"data":6,"extension":1052,"meta":1430,"stem":1447,"__hash__":1448},"shared\u002Fcode-type-module-options-root-prep.md",{"body":1431},{"type":8,"value":1432,"toc":1445},[1433],[120,1434,1435,1441],{},[123,1436,1439],{"className":1437,"code":1438,"language":378,"meta":115},[376],"type ModuleOptions = {\n  rootPrep:\n    | {\n        components: boolean;\n        configs: boolean;\n        public: boolean;\n      }\n    | boolean;\n};\n\"cref:bqm9nh\"\n",[130,1440,1438],{"__ignoreMap":115},[113,1442,1443],{"v-slot:ui":115},[16,1444,1423],{},{"title":115,"searchDepth":1030,"depth":1030,"links":1446},[],"code-type-module-options-root-prep","CDd6YiejS7_3Pl2ETS054y-cran1P92f4jEUZTnpnOI",{"id":1450,"data":6,"extension":1052,"meta":1451,"stem":1468,"__hash__":1469},"shared\u002Fcode-type-search-debug-options.md",{"body":1452},{"type":8,"value":1453,"toc":1466},[1454],[120,1455,1456,1462],{},[123,1457,1460],{"className":1458,"code":1459,"language":378,"meta":115},[376],"type DebugOptions =\n  | {\n      mint: boolean;\n      parser: boolean;\n      assistant: boolean;\n      compression: boolean;\n    }\n  | boolean;\n\"cref:4kwyr2\"\n",[130,1461,1459],{"__ignoreMap":115},[113,1463,1464],{"v-slot:ui":115},[16,1465,1423],{},{"title":115,"searchDepth":1030,"depth":1030,"links":1467},[],"code-type-search-debug-options","9sgMqYFmn561p6df7FEuf-1-dyKAqrO_HYGdARynLlA",{"id":1471,"data":6,"extension":1052,"meta":1472,"stem":1496,"__hash__":1497},"shared\u002Finline-read-more-about.md",{"body":1473},{"type":8,"value":1474,"toc":1494},[1475],[16,1476,1479,1480,849,1484],{"className":1477},[1478],"mt-0!","More about ",[1481,1482],"dl-format",{":content":1483},"about",[23,1485,1486,1490,1491],{"label":406},[1487,1488],"binding",{"value":1489},"$doc.link","|",[1487,1492],{"value":1493},"$doc.hash",{"title":115,"searchDepth":1030,"depth":1030,"links":1495},[],"inline-read-more-about","O5VeK2Uv84witk_mAupYbHJxwXAmNoSKDgtmvyvLQwU",{"id":1499,"data":6,"extension":1052,"meta":1500,"stem":1512,"__hash__":1513},"shared\u002Fsection-exported-types.md",{"body":1501},{"type":8,"value":1502,"toc":1510},[1503],[16,1504,1505,1506,1509],{},"You can refer to the exported types, which are available for use throughout your application. All of them can be accessed from the ",[130,1507,1508],{},"@vuehouse\u002Fdl\u002Ftypes"," entrypoint.",{"title":115,"searchDepth":1030,"depth":1030,"links":1511},[],"section-exported-types","SyCNSGhT7VGICRHuO3fNO2QfyQUf7s10wVMGQyTfBFk",{"id":1515,"data":6,"extension":1052,"meta":1516,"stem":1529,"__hash__":1530},"shared\u002Fsection-highlighter-marker-disclaimer.md",{"body":1517},{"type":8,"value":1518,"toc":1527},[1519],[343,1520,1521],{},[16,1522,462,1523,1526],{},[130,1524,1525],{},"!"," character has been escaped manually to demonstrate the code usage, remove the backslash when using it.",{"title":115,"searchDepth":1030,"depth":1030,"links":1528},[],"section-highlighter-marker-disclaimer","DvlAILaQ9PE_c-B8f_1AYbrRaXRnOq9Ldr_Uc8qwkqE",{"id":1532,"data":6,"extension":1052,"meta":1533,"stem":1555,"__hash__":1556},"shared\u002Fsection-newly-added.md",{"body":1534},{"type":8,"value":1535,"toc":1553},[1536],[11,1537,1538],{"title":159},[16,1539,1540,1544,1545,1552],{},[1541,1542,1156],"dl-badge",{":iui":1543,"glow":470,"size":1052},"{ \"base\": \"mr-1 align-text-top\" }"," Available from the ",[130,1546,1549],{"className":1547},[1548],"whitespace-nowrap",[1487,1550],{"value":1551},"$doc.version"," release.",{"title":115,"searchDepth":1030,"depth":1030,"links":1554},[],"section-newly-added","ALhVdWjkGXgjt6I9nIikz7fUkwkGy62V3bicM903qW8",{"id":1558,"data":6,"extension":1052,"meta":1559,"stem":1576,"__hash__":1577},"shared\u002Fsection-optional-tool.md",{"body":1560},{"type":8,"value":1561,"toc":1574},[1562],[11,1563,1564],{"title":159,"type":160},[16,1565,1566,1567,1570,1571,294],{},"This tool is not a part of the DocLayer module. Its usage is opinionated and ",[20,1568,1569],{},"optionally included"," in the ",[23,1572,89],{"label":1573},"Boilerplate application",{"title":115,"searchDepth":1030,"depth":1030,"links":1575},[],"section-optional-tool","OWRAq0rKvbIllQHS-mJRS8L2qkNiiQ8RMiFBIBiZmnY",{"id":1579,"data":6,"extension":1052,"meta":1580,"stem":1622,"__hash__":1623},"shared\u002Fsection-props-extending.md",{"body":1581},{"type":8,"value":1582,"toc":1620},[1583],[11,1584,1586,1598],{"title":1585,"type":160},"Why to use built-in property extending?",[16,1587,1588,1589,1597],{},"You might ask ",[20,1590,1591,1592],{},"why this approach is better than simply ",[23,1593,1596],{"hash":1594,"label":1595},"defining-dynamic-properties","passing regular dynamic properties","$docs-guidelines-writing-content"," to your content components?",[905,1599,1600,1607,1614,1617],{},[908,1601,1602,1603,294],{},"First, it’s not limited to local data - you can provide data from parent components as well as from the global registry, managed by the ",[23,1604,389],{"hash":1605,"label":1606},"dlindocdata","`dl.inDocData` object",[908,1608,1609,1610,1613],{},"Second, dynamic property binding with the ",[130,1611,1612],{},"$doc"," handler isn’t possible when using regular dynamic props, since those values are resolved as static data, which can make data binding inconsistent.",[908,1615,1616],{},"Third, you can mix static and dynamic content for the same property.",[908,1618,1619],{},"Finally, with this approach, data binding happens at the component level, is cached, and reused for future renders, rather than being resolved each time during Markdown parsing.",{"title":115,"searchDepth":1030,"depth":1030,"links":1621},[],"section-props-extending","_KvOHw4F9cNT3FPfJPu3rKhnly5pt4adBb6EQXsJM8s",{"id":1625,"data":6,"extension":1052,"meta":1626,"stem":1643,"__hash__":1644},"shared\u002Fsection-props-intro.md",{"body":1627},{"type":8,"value":1628,"toc":1641},[1629],[16,1630,1631,1632,1637,1638,294],{},"Here are the properties you can use with the ",[130,1633,1634],{},[1487,1635],{"value":1636},"$doc.componentName"," component. Each property should be set on an individual component instance; they do not affect the global configuration. More about defining properties in MDC components ",[23,1639,1596],{"hash":1640,"label":406},"defining-properties",{"title":115,"searchDepth":1030,"depth":1030,"links":1642},[],"section-props-intro","SKoDIW1kVb4amM1MgbWMvvgRr9IWPabKr58_xl1Q-GM",{"id":1646,"data":6,"extension":1052,"meta":1647,"stem":1655,"__hash__":1656},"shared\u002Fsection-props-iui-description.md",{"body":1648},{"type":8,"value":1649,"toc":1653},[1650],[16,1651,1652],{},"Special property dedicated to inline components, can be used to add TW classes for certain component markup elements.",{"title":115,"searchDepth":1030,"depth":1030,"links":1654},[],"section-props-iui-description","Se96jxhroK3WLRE4HXYqDeoYv1lpUd8qv4vZ8us54sI",{"id":1658,"data":6,"extension":1052,"meta":1659,"stem":1670,"__hash__":1671},"shared\u002Fsection-props-ui-default.md",{"body":1660},{"type":8,"value":1661,"toc":1668},[1662],[16,1663,1665],{"style":1664},"white-space: nowrap;",[63,1666,728],{"href":1667},"#styling",{"title":115,"searchDepth":1030,"depth":1030,"links":1669},[],"section-props-ui-default","5mkrOeoYp1BToIddCkwyzzTWeOQvj1gDVRYHJJl7kow",{"id":1673,"data":6,"extension":1052,"meta":1674,"stem":1687,"__hash__":1688},"shared\u002Fsection-props-ui-description.md",{"body":1675},{"type":8,"value":1676,"toc":1685},[1677],[16,1678,1680,1681,1684],{"style":1679},"min-width: 16rem;","The component ",[130,1682,1683],{},"ui"," object. Defines the Tailwind classes for the component's HTML markup elements.",{"title":115,"searchDepth":1030,"depth":1030,"links":1686},[],"section-props-ui-description","xXl6RjZ54x2VpJv6H1mJ7OSCTSOfMTtRD1_VyiC0tjI",{"id":1690,"data":6,"extension":1052,"meta":1691,"stem":1699,"__hash__":1700},"shared\u002Fsection-props-ui-type.md",{"body":1692},{"type":8,"value":1693,"toc":1697},[1694],[130,1695,1696],{"style":1664},"() => UI",{"title":115,"searchDepth":1030,"depth":1030,"links":1698},[],"section-props-ui-type","AuxEvFbnpnbFrEjJrYiNJVZsYmI8RkEnH9RjkkuoaSQ",{"id":1702,"data":6,"extension":1052,"meta":1703,"stem":1758,"__hash__":1759},"shared\u002Fsection-remote-model-callout.md",{"body":1704},{"type":8,"value":1705,"toc":1756},[1706],[11,1707,1709,1715,1725,1728,1736,1745],{"title":1708},"DocLayer's Remote Model",[16,1710,1711,1714],{},[20,1712,1713],{},"DocLayer offers a prebuilt remote API for the AI Assistant",", providing advanced features like context focusing, deterministic intelligent caching, and optimized code extraction to deliver precise, high-quality answers (almost) every time.",[16,1716,1717,294],{},[20,1718,1719,1720,1724],{},"Our carefully fine-tuned model is available through the ",[23,1721,1723],{"label":1722},"🫠 Early Supporter Program","$docs-project-support"," - help us to build the best product possible securing the most advanced features for the best price",[16,1726,1727],{},"Here’s how you can configure it:",[120,1729,1730],{"tabs":372},[123,1731,1734],{"className":1732,"code":1733,"language":378,"meta":115},[376],"export default defineNuxtConfig({\n  \u002F\u002F the rest of the nuxt.config.ts\n  modules: ['@vuehouse\u002Fdl-search'],\n  dlSearch: {\n    assistant: {\n      model: {\n        type: 'dl',\n        config: {\n          endpoint: 'https:\u002F\u002Fvue.house\u002Fapi',\n          token: process.env.DL_API_TOKEN,\n        },\n      },\n    },\n  },\n});\n\"cref:96cag8\"\n",[130,1735,1733],{"__ignoreMap":115},[16,1737,1738,1739,749,1742,294],{},"To try our API please ",[23,1740,1741],{},"$mailto-vue-house",[20,1743,1744],{},"It's free",[16,1746,1747,1748,77,1751,294],{},"Remote ",[20,1749,1750],{},"API operates with a dedicated",[23,1752,1755],{"label":1753,"hash":1754},"DocLayer AI Kit","ai-kit","$docs-search-usage",{"title":115,"searchDepth":1030,"depth":1030,"links":1757},[],"section-remote-model-callout","C3AapTL9Uu5tqauRWl5GqZc8aOld3-yEvscN9Dwfp2M",{"id":1761,"data":6,"extension":1052,"meta":1762,"stem":1776,"__hash__":1777},"shared\u002Fsection-slots-ui-description.md",{"body":1763},{"type":8,"value":1764,"toc":1774},[1765],[16,1766,1767,1768,1770,1771,294],{},"Dedicated slot for defining the component’s ",[130,1769,1683],{}," object. More about styling MDC components ",[23,1772,1773],{"label":406},"$docs-components-building",{"title":115,"searchDepth":1030,"depth":1030,"links":1775},[],"section-slots-ui-description","HFR6PT0KFzSBW9WnqIk5KdPqHjGTTl3za3mklYIIYUY",{"id":1779,"data":6,"extension":1052,"meta":1780,"stem":1802,"__hash__":1803},"shared\u002Fsection-styling-css-classes-intro.md",{"body":1781},{"type":8,"value":1782,"toc":1800},[1783],[16,1784,1785,1786,1790,1791,1795,1796,1799],{},"Below are the CSS utility classes used by the ",[130,1787,1788],{},[1487,1789],{"value":1636}," component. They make use of the ",[63,1792,1794],{"href":1793},"#css-variables","CSS variables"," described above and ",[63,1797,1798],{"href":1667},"define the default styling"," for the component's markup elements.",{"title":115,"searchDepth":1030,"depth":1030,"links":1801},[],"section-styling-css-classes-intro","VRtlxQ59m9iNVrWHp9r1OAy2lkklqQPtKbRIkwVCY6A",{"id":1805,"data":6,"extension":1052,"meta":1806,"stem":1827,"__hash__":1828},"shared\u002Fsection-styling-css-variables-intro.md",{"body":1807},{"type":8,"value":1808,"toc":1825},[1809],[16,1810,1811,1812,1815,1816,1820,1821,294],{},"Here is a set of CSS variables you can ",[20,1813,1814],{},"use to customize the appearance"," of the ",[130,1817,1818],{},[1487,1819],{"value":1636}," component globally. More about theming and styling with CSS variables, ",[23,1822,1824],{"hash":1823,"label":406},"css-variables","$docs-guidelines-theming",{"title":115,"searchDepth":1030,"depth":1030,"links":1826},[],"section-styling-css-variables-intro","Vk6yVXoMwLNtqisCZhk9m2F3-wHKjiujWtBBZbTJcD4",{"id":1830,"data":6,"extension":1052,"meta":1831,"stem":1858,"__hash__":1859},"shared\u002Fsection-styling-intro.md",{"body":1832},{"type":8,"value":1833,"toc":1856},[1834,1847],[11,1835,1837],{"title":1836,"type":160},"Styling from Markdown",[16,1838,1839,1840,1843,1844,294],{},"Every DocLayer component ",[20,1841,1842],{},"can be styled directly within your Markdown file"," using dedicated slot\u002Fproperty configuration. This allows you to customize the appearance of the component's markup elements without modifying global styles. More about components styling ",[23,1845,1773],{"hash":1846,"label":406},"styling-inside-the-markdown-files",[16,1848,1849,1850],{},"Below you'll find the default set of Tailwind classes for the component's dedicated markup elements. ",[1481,1851,1852],{},[1487,1853],{"defaultValue":1854,"value":1855},"undefined","$doc.extend",{"title":115,"searchDepth":1030,"depth":1030,"links":1857},[],"section-styling-intro","8V_zEj7QXax6dzKp918ZNy97d9u4qk6TaE40wI5JWEs",{"id":1861,"data":6,"extension":1052,"meta":1862,"stem":1902,"__hash__":1903},"shared\u002Fsection-utility-exports-disclaimer.md",{"body":1863},{"type":8,"value":1864,"toc":1900},[1865],[11,1866,1867,1874,1893],{"title":159,"type":160},[16,1868,1869,1870,1873],{},"This utility is ",[20,1871,1872],{},"exported from the module"," package.",[120,1875,1878,1884],{"dynamic":1876,"tabs":1877},"utilityName","file.ts",[123,1879,1882],{"className":1880,"code":1881,"language":378,"meta":115},[376],"import { :dl-dynamic: } from '@vuehouse\u002Fdl\u002Fexports';\n\"cref:zseli7\"\n",[130,1883,1881],{"__ignoreMap":115},[113,1885,1886],{"v-slot:props":115},[16,1887,1888,1889,1892],{},"{\"dynamic\": \"",[1487,1890],{"value":1891},"$doc.utilityName","\" }",[16,1894,1895,1896,1899],{},"You can use it this way ",[20,1897,1898],{},"when the global context is not available"," and utility can't be loaded automatically by Nuxt.",{"title":115,"searchDepth":1030,"depth":1030,"links":1901},[],"section-utility-exports-disclaimer","FXCXHiiD49oOkbSwsKFpp4m0gsXkZdnUwCwWnVjwucI",{"id":1905,"data":6,"extension":1052,"meta":1906,"stem":1929,"__hash__":1930},"shared\u002Ftooltip-app-config-path.md",{"body":1907},{"type":8,"value":1908,"toc":1927},[1909],[991,1910,1913],{"label":1911,"tooltip":1912},"`app.config.ts`","In-app file path: app\u002Fapp.config.ts",[113,1914,1915],{"v-slot:props":115},[16,1916,1917,1918,1922,1923,1926],{},"{\"tooltip\": \"In-app file path: ",[1487,1919],{"defaultValue":1920,"value":1921},"app\u002Fapp.config.ts","$doc.tooltip","\", \"label\": \"",[1487,1924],{"defaultValue":1911,"value":1925},"$doc.label","\"}",{"title":115,"searchDepth":1030,"depth":1030,"links":1928},[],"tooltip-app-config-path","WVDQKyALt7paYD6Tr7K10fmQ27d2XjzO_oxDKHCgSdc",{"id":1932,"data":6,"extension":1052,"meta":1933,"stem":1942,"__hash__":1943},"shared\u002Ftooltip-rag.md",{"body":1934},{"type":8,"value":1935,"toc":1940},[1936],[991,1937],{"label":1938,"lock-width":470,"tooltip":1939},"**RAG**","RAG stands for Retrieval-Augmented Generation. It is an AI solution that enhances the accuracy and reliability of Large Language Models by allowing them to reference data outside their original training set when generating answers. In most cases, this data is provided locally.",{"title":115,"searchDepth":1030,"depth":1030,"links":1941},[],"tooltip-rag","fDKuZzfT8d6JNox0uI1P0_ktG8kYWiz7WGsWWo7gTGs",[1945,1947,1948,1949],{"title":1067,"path":1946,"stem":1069,"children":-1,"description":6,"icon":1080},"\u002Fdocs\u002Fgetting-started\u002F.navigation",{"title":1072,"path":1068,"stem":1069,"description":1073,"children":-1},{"title":1076,"path":1077,"stem":1078,"description":1079,"children":-1},{"title":1088,"path":1089,"stem":1090,"description":1091,"children":-1},1795796057773]