[{"data":1,"prerenderedAt":1553},["ShallowReactive",2],{"\u002Fdocs\u002Fcomponents\u002Fgrid":3,"dl-navigation-docs":657,"shared":1002,"surroundings-\u002Fdocs\u002Fcomponents\u002Fgrid":1547},{"id":4,"title":5,"_llmSection":6,"_local":6,"_schemaOrg":6,"_seo":6,"body":7,"description":648,"extension":649,"ignore":6,"meta":650,"navigation":651,"path":652,"seo":653,"sitemap":654,"stem":655,"__hash__":656},"docs\u002Fdocs\u002F03.components\u002F14.grid.md","DlGrid",null,{"type":8,"value":9,"toc":636},"minimark",[10,23,54,186,311,398,545,611],[11,12,13,14,17,18,22],"p",{},"The ",[15,16,5],"code",{}," ",[19,20,21],"strong",{},"block component"," places named slots into a responsive grid.",[24,25,27,31,35],"dl-section",{"id":26},"features",[28,29,30],"h2",{"id":26},"Features",[32,33,34],"dl-prompter",{},"dl-grid component features",[36,37,38,42,45,48,51],"ul",{},[39,40,41],"li",{},"#️⃣ column and row setup",[39,43,44],{},"🏷️ one cell per slot, with optional column and row placement",[39,46,47],{},"📐 alignment and justification of the content inside each cell",[39,49,50],{},"🧩 theme-friendly visual adjustments",[39,52,53],{},"⚠️ extensive error reporter",[24,55,57,60,63,78,100,114,117,147],{"id":56},"usage",[28,58,59],{"id":56},"Usage",[32,61,62],{},"who to use dl-grid component",[11,64,65,66,69,70,73,74,77],{},"Use ",[15,67,68],{},"::dl-grid"," as a block component defining the grid with ",[15,71,72],{},"grid-cols"," and, when you need a fixed row count, ",[15,75,76],{},"grid-rows",".",[11,79,80,81,84,85,88,89,92,93,96,97,77],{},"Each cell is a named slot. The name is ",[15,82,83],{},"#item-{n}",", starting at ",[15,86,87],{},"1",". Slots are ordered by that number, so ",[15,90,91],{},"#item-10"," stays after ",[15,94,95],{},"#item-2",". Append a position to place the cell on the grid. The ",[19,98,99],{},"slot body is normal Markdown and can include other content components",[101,102,104],"dl-code",{"tabs":103},"content.md",[105,106,112],"pre",{"className":107,"code":109,"language":110,"meta":111},[108],"language-markdown","::dl-grid{grid-cols=\"lg:grid-cols-3\"}\n\n#item-1\n\nGrid item 1\n\n#item-2\n\nGrid item 2\n\n#item-3\n\nGrid item 3\n\n::\n\"cref:8e9iga\"\n","markdown","",[15,113,109],{"__ignoreMap":111},[11,115,116],{},"Result:",[118,119,122,130,136,142],"dl-grid",{"grid-cols":120,"align":121,"justify":121},"lg:grid-cols-3","start",[123,124,125],"template",{"v-slot:item-1":111},[11,126,129],{"className":127},[128],"m-0!","Grid item 1",[123,131,132],{"v-slot:item-2":111},[11,133,135],{"className":134},[128],"Grid item 2",[123,137,138],{"v-slot:item-3":111},[11,139,141],{"className":140},[128],"Grid item 3",[123,143,144],{"v-slot:ui":111},[11,145,146],{},"{\"item\": \"border u-border-color u-border-radius u-space-p\"}",[148,149,152,168],"dl-callout",{"title":150,"type":151},"Class generation","note",[11,153,154,156,157,159,160,163,164,167],{},[15,155,72],{}," and ",[15,158,76],{}," accept ",[15,161,162],{},"lg:grid-cols-1"," through ",[15,165,166],{},"lg:grid-cols-12",", and the same range for rows. Other values are not generated.",[11,169,170,171,174,175,178,179,185],{},"If you need grid classes at another breakpoint, such as ",[15,172,173],{},"md:grid-cols-3",", add them in your CSS (for example with ",[15,176,177],{},"@apply",") so ",[180,181,184],"dl-link",{"label":182,"path":183},"Tailwind","\u002Fdocs\u002Fgrid-column","$tailwind"," can detect them and include in the final bundle.",[24,187,189,193,196,199,285,303],{"id":188},"with-custom-item-content-alignment",[190,191,192],"h3",{"id":188},"With custom item content alignment",[32,194,195],{},"dl-grid component content alignment and justification",[11,197,198],{},"Each item is a vertical flex container that fills its cell.",[200,201,202,218],"table",{},[203,204,205],"thead",{},[206,207,208,212,215],"tr",{},[209,210,211],"th",{},"align \u002F justify",[209,213,214],{},"justify class applied",[209,216,217],{},"align class applied",[219,220,221,243,264],"tbody",{},[206,222,223,228,236],{},[224,225,226],"td",{},[15,227,121],{},[224,229,230],{},[11,231,233],{"style":232},"min-width: 12rem;",[15,234,235],{},"justify-start",[224,237,238],{},[11,239,240],{"style":232},[15,241,242],{},"items-start",[206,244,245,250,257],{},[224,246,247],{},[15,248,249],{},"center",[224,251,252],{},[11,253,254],{},[15,255,256],{},"justify-center",[224,258,259],{},[11,260,261],{},[15,262,263],{},"items-center",[206,265,266,271,278],{},[224,267,268],{},[15,269,270],{},"end",[224,272,273],{},[11,274,275],{},[15,276,277],{},"justify-end",[224,279,280],{},[11,281,282],{},[15,283,284],{},"items-end",[11,286,287,288,156,291,159,294,296,297,299,300,302],{},"Both ",[15,289,290],{},"align",[15,292,293],{},"justify",[15,295,121],{},", ",[15,298,249],{},", and ",[15,301,270],{},". Like this:",[101,304,305],{"tabs":103},[105,306,309],{"className":307,"code":308,"language":110,"meta":111},[108],"::dl-grid{grid-cols=\"lg:grid-cols-3\" align=\"start\" justify=\"start\"}\n\n\u003C!-- Grid items -->\n\n::\n\"cref:olbsti\"\n",[15,310,308],{"__ignoreMap":111},[24,312,314,317,320,327,367,370,378,380],{"id":313},"with-custom-item-positions",[190,315,316],{"id":313},"With custom item positions",[32,318,319],{},"dl-grid component item placement",[11,321,322,323,326],{},"The position is part of the slot name, after ",[15,324,325],{},"|",". The numbers are grid lines: the start line, then the end line. Two numbers place the item across columns. Four numbers place it across columns and then rows.",[200,328,329,339],{},[203,330,331],{},[206,332,333,336],{},[209,334,335],{},"slot",[209,337,338],{},"placement",[219,340,341,354],{},[206,342,343,348],{},[224,344,345],{},[15,346,347],{},"#item-1|1-3",[224,349,350],{},[11,351,353],{"style":352},"min-width: 30rem;","Columns only, from line 1 to line 3.",[206,355,356,362],{},[224,357,358],{},[15,359,361],{"style":360},"white-space: nowrap;","#item-1|1-3-1-2",[224,363,364],{},[11,365,366],{},"Columns from line 1 to line 3, and rows from line 1 to 2.",[11,368,369],{},"Placement applies from the large breakpoint. Smaller screens keep a single column.",[101,371,372],{"tabs":103},[105,373,376],{"className":374,"code":375,"language":110,"meta":111},[108],"::dl-grid{grid-cols=\"lg:grid-cols-4\" grid-rows=\"lg:grid-rows-2\"}\n\n#item-1|1-4\n\nGrid item 1\n\n#item-2|4-5-1-3\n\nGrid item 2\n\n::\n\"cref:865g8m\"\n",[15,377,375],{"__ignoreMap":111},[11,379,116],{},[118,381,384,389,394],{"grid-cols":382,"grid-rows":383},"lg:grid-cols-4","lg:grid-rows-2",[123,385,386],{"v-slot:item-1|1-4":111},[11,387,129],{"className":388},[128],[123,390,391],{"v-slot:item-2|4-5-1-3":111},[11,392,135],{"className":393},[128],[123,395,396],{"v-slot:ui":111},[11,397,146],{},[24,399,401,404,407,412],{"id":400},"props",[28,402,403],{"id":400},"Props",[32,405,406],{},"dl-grid component props properties",[408,409,411],"dl-renderer",{":data":410},"{\"componentName\": \"DlGrid\"}","rref:section-props-intro",[200,413,414,430],{},[203,415,416],{},[206,417,418,421,424,427],{},[209,419,420],{},"name",[209,422,423],{},"type",[209,425,426],{},"default",[209,428,429],{},"description",[219,431,432,455,480,505,526],{},[206,433,434,439,444,449],{},[224,435,436],{},[15,437,438],{},"lazy",[224,440,441],{},[15,442,443],{},"boolean",[224,445,446],{},[15,447,448],{},"true",[224,450,451],{},[11,452,454],{"style":453},"min-width: 16rem;","Whether to lazy load the component.",[206,456,457,462,467,472],{},[224,458,459],{},[15,460,461],{},"gridCols",[224,463,464],{},[15,465,466],{"style":360},"'{breakpoint}:grid-cols-${n}'",[224,468,469],{},[15,470,471],{"style":360},"'lg:grid-cols-2'",[224,473,474],{},[11,475,476,477,77],{},"Grid columns at the large breakpoint. ",[19,478,479],{},"Smaller screens use a single column",[206,481,482,487,492,497],{},[224,483,484],{},[15,485,486],{},"gridRows",[224,488,489],{},[15,490,491],{"style":360},"'{breakpoint}:grid-rows-${n}'",[224,493,494],{},[15,495,496],{},"undefined",[224,498,499],{},[11,500,501,502,77],{},"Grid rows at the large breakpoint. Omit it and ",[19,503,504],{},"the row count follows the items",[206,506,507,511,516,521],{},[224,508,509],{},[15,510,290],{},[224,512,513],{},[15,514,515],{},"'start' | 'center' | 'end'",[224,517,518],{},[15,519,520],{},"'start'",[224,522,523],{},[11,524,525],{"style":453},"Cross-axis alignment of the content inside each item.",[206,527,528,532,536,540],{},[224,529,530],{},[15,531,293],{},[224,533,534],{},[15,535,515],{},[224,537,538],{},[15,539,520],{},[224,541,542],{},[11,543,544],{},"Main-axis justification of the content inside each item.",[24,546,548,551,554],{"id":547},"slots",[28,549,550],{"id":547},"Slots",[32,552,553],{},"dl-grid component slots",[200,555,556,564],{},[203,557,558],{},[206,559,560,562],{},[209,561,420],{},[209,563,429],{},[219,565,566,599],{},[206,567,568,573],{},[224,569,570],{},[15,571,572],{"style":360},"#item-{n}|{c-c}-{r-r}?",[224,574,575],{},[11,576,578,579,582,583,588,589,156,592,595,596,77],{"style":577},"min-width: 25rem;","One grid cell, ",[15,580,581],{},"{n}"," is its number. ",[584,585,587],"a",{"href":586},"#with-custom-item-positions","See placement for column and row"," lines. The ",[15,590,591],{},"{c-c}",[15,593,594],{},"{r-r}"," represents the ",[584,597,598],{"href":586},"column and row positions",[206,600,601,606],{},[224,602,603],{},[15,604,605],{},"ui",[224,607,608],{},[408,609,610],{},"rref:section-slots-ui-description",[24,612,614,617,620,624],{"id":613},"styling",[28,615,616],{"id":613},"Styling",[32,618,619],{},"dl-grid component styling",[408,621,623],{":data":622},"{\"extend\": \"`base` is the grid, `item` is each cell.\"}","rref:section-styling-intro",[101,625,628],{"tabs":626,"max-height":627},"DlGrid.vue","20rem",[105,629,634],{"className":630,"code":632,"language":633,"meta":111},[631],"language-vue","\u003Cscript lang=\"ts\">\nconst ui = defineDoclayerComponentUi({\n  base: ['u-space-mb', 'grid', 'grid-cols-1', 'gap-4', 'md:gap-6', 'w-full'],\n  item: ['flex', 'flex-col', 'min-w-0', 'w-full', 'h-full'],\n});\n\u003C\u002Fscript>\n\"cref:bvfvtj\"\n","vue",[15,635,632],{"__ignoreMap":111},{"title":111,"searchDepth":637,"depth":637,"links":638},2,[639,640,645,646,647],{"id":26,"depth":637,"text":30},{"id":56,"depth":637,"text":59,"children":641},[642,644],{"id":188,"depth":643,"text":192},3,{"id":313,"depth":643,"text":316},{"id":400,"depth":637,"text":403},{"id":547,"depth":637,"text":550},{"id":613,"depth":637,"text":616},"Lay out named content items in a responsive grid","md",{},true,"\u002Fdocs\u002Fcomponents\u002Fgrid",{"title":5,"description":648},{"loc":652},"docs\u002F03.components\u002F14.grid","2NTZM_6A20JUkWxujQBquNI24R-bAW2Ep26uzYlI1yA",[658],{"title":659,"path":660,"stem":661,"children":662,"page":713},"Docs","\u002Fdocs","docs",[663,682,714,821,850,881,904,919,961,982],{"title":664,"path":665,"stem":666,"children":667,"description":6,"icon":681},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F01.getting-started\u002F01.index",[668,671,676],{"title":669,"path":665,"stem":666,"description":670},"Introduction","What DocLayer is, who it’s for, and how it can help",{"title":672,"path":673,"stem":674,"description":675},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F01.getting-started\u002F02.installation","How to install and run DocLayer",{"title":677,"path":678,"stem":679,"description":680},"FAQ","\u002Fdocs\u002Fgetting-started\u002Ffaq","docs\u002F01.getting-started\u002F03.faq","Frequently asked questions about DocLayer","rocket",{"title":683,"description":6,"icon":684,"path":685,"stem":686,"children":687,"page":713},"Guidelines","file-pen-line","\u002Fdocs\u002Fguidelines","docs\u002F02.guidelines",[688,693,698,703,708],{"title":689,"path":690,"stem":691,"description":692},"Internals","\u002Fdocs\u002Fguidelines\u002Finternals","docs\u002F02.guidelines\u002F02.internals","How DocLayer's structure, its architecture and internals fit together",{"title":694,"path":695,"stem":696,"description":697},"Configuration","\u002Fdocs\u002Fguidelines\u002Fconfiguration","docs\u002F02.guidelines\u002F03.configuration","Customize DocLayer via `app.config.ts` and its configuration",{"title":699,"path":700,"stem":701,"description":702},"Writing Content","\u002Fdocs\u002Fguidelines\u002Fwriting-content","docs\u002F02.guidelines\u002F04.writing-content","Write Markdown with Nuxt Content, DocLayer and prebuilt utilities",{"title":704,"path":705,"stem":706,"description":707},"Defining Metadata","\u002Fdocs\u002Fguidelines\u002Fdefining-metadata","docs\u002F02.guidelines\u002F05.defining-metadata","Set global and per-page SEO metadata for your DocLayer app",{"title":709,"path":710,"stem":711,"description":712},"Theming","\u002Fdocs\u002Fguidelines\u002Ftheming","docs\u002F02.guidelines\u002F06.theming","Customize DocLayer’s look with CSS variables and utility classes",false,{"title":715,"path":716,"stem":717,"children":718,"description":6,"label":669,"icon":820},"Components","\u002Fdocs\u002Fcomponents","docs\u002F03.components\u002F01.index",[719,722,728,733,738,743,748,753,758,763,768,773,778,783,789,794,795,800,805,810,815],{"title":720,"path":716,"stem":717,"description":721,"label":669},"Components Introduction","Overview of DocLayer’s built-in Markdown content components",{"title":723,"path":724,"stem":725,"description":726,"label":727},"Components Building & Styling","\u002Fdocs\u002Fcomponents\u002Fbuilding","docs\u002F03.components\u002F02.building","Create custom content components with DlWrapper","DlWrapper",{"title":729,"path":730,"stem":731,"description":732},"DlRenderer","\u002Fdocs\u002Fcomponents\u002Frenderer","docs\u002F03.components\u002F03.renderer","Render reusable, shareable Markdown fragments anywhere in your content",{"title":734,"path":735,"stem":736,"description":737},"DlLink","\u002Fdocs\u002Fcomponents\u002Flink","docs\u002F03.components\u002F04.link","Create internal links resolved from the global path registry",{"title":739,"path":740,"stem":741,"description":742},"DlCode","\u002Fdocs\u002Fcomponents\u002Fcode","docs\u002F03.components\u002F05.code","Display your code snippets with syntax highlighting, copy, tabs, transformations and more",{"title":744,"path":745,"stem":746,"description":747},"DlCodeInline","\u002Fdocs\u002Fcomponents\u002Finline-code","docs\u002F03.components\u002F05.inline-code","Display inline code that stays on one line",{"title":749,"path":750,"stem":751,"description":752},"DlCallout","\u002Fdocs\u002Fcomponents\u002Fcallout","docs\u002F03.components\u002F06.callout","Display notes, warnings, and alerts as type-based callout blocks",{"title":744,"path":754,"stem":755,"description":747,"badge":756},"\u002Fdocs\u002Fcomponents\u002Fcode-inline","docs\u002F03.components\u002F06.code-inline",{"label":757,"glow":651},"new",{"title":759,"path":760,"stem":761,"description":762},"DlBadge","\u002Fdocs\u002Fcomponents\u002Fbadge","docs\u002F03.components\u002F07.badge","Show compact type-based status labels",{"title":764,"path":765,"stem":766,"description":767},"DlImage","\u002Fdocs\u002Fcomponents\u002Fimage","docs\u002F03.components\u002F08.image","Present optimized, responsive images with optional caption and inline styling",{"title":769,"path":770,"stem":771,"description":772},"DlStepper","\u002Fdocs\u002Fcomponents\u002Fstepper","docs\u002F03.components\u002F09.stepper","List vertical step sequences using named slots",{"title":774,"path":775,"stem":776,"description":777},"DlTooltip","\u002Fdocs\u002Fcomponents\u002Ftooltip","docs\u002F03.components\u002F10.tooltip","Annotate with contextual configurable tooltips",{"title":779,"path":780,"stem":781,"description":782},"DlPrompter","\u002Fdocs\u002Fcomponents\u002Fprompter","docs\u002F03.components\u002F11.prompter","Prompt the search index and AI Assistant with hidden, removable content inserts",{"title":784,"path":785,"stem":786,"description":787,"badge":788},"DlFormat","\u002Fdocs\u002Fcomponents\u002Fformat","docs\u002F03.components\u002F12.format","Format Markdown content into a structured HTML output",{"label":757,"glow":651},{"title":790,"path":791,"stem":792,"description":793},"DlSection","\u002Fdocs\u002Fcomponents\u002Fsection","docs\u002F03.components\u002F13.section","Wrap and demarcate content sections",{"title":5,"path":652,"stem":655,"description":648},{"title":796,"path":797,"stem":798,"description":799},"DlHero","\u002Fdocs\u002Fcomponents\u002Fhero","docs\u002F03.components\u002F20.hero","Present a prominent page hero with title, lead and CTA",{"title":801,"path":802,"stem":803,"description":804},"DlHeading","\u002Fdocs\u002Fcomponents\u002Fheading","docs\u002F03.components\u002F21.heading","Divide content with section headings",{"title":806,"path":807,"stem":808,"description":809},"DlFeaturesGrid","\u002Fdocs\u002Fcomponents\u002Ffeatures-grid","docs\u002F03.components\u002F22.features-grid","Render a responsive features grid with animated and formatted tiles",{"title":811,"path":812,"stem":813,"description":814},"DlNewsletter","\u002Fdocs\u002Fcomponents\u002Fnewsletter","docs\u002F03.components\u002F23.newsletter","Collect newsletter subscriptions with a styled form",{"title":816,"path":817,"stem":818,"description":819},"DlTypeman","\u002Fdocs\u002Fcomponents\u002Ftypeman","docs\u002F03.components\u002F24.typeman","Animate rotating words with a blinking cursor effect","brick-wall",{"title":822,"path":823,"stem":824,"children":825,"description":6,"label":669,"icon":849},"Utilities","\u002Fdocs\u002Futils","docs\u002F04.utils\u002F01.index",[826,829,833,838,843],{"title":827,"path":823,"stem":824,"description":828,"label":669},"Utilities Introduction","Helpers, composables, macros, and types for extending DocLayer beyond Markdown",{"title":822,"path":830,"stem":831,"description":832},"\u002Fdocs\u002Futils\u002Futilities","docs\u002F04.utils\u002F02.utilities","Auto-imported helper functions for common tasks across DocLayer",{"title":834,"path":835,"stem":836,"description":837},"Composables","\u002Fdocs\u002Futils\u002Fcomposables","docs\u002F04.utils\u002F03.composables","Vue composables for collections, UI resolution, navigation, and content",{"title":839,"path":840,"stem":841,"description":842},"Macros","\u002Fdocs\u002Futils\u002Fmacros","docs\u002F04.utils\u002F04.macros","Compile-time macros for typed app config, adapters, and component UI",{"title":844,"path":845,"stem":846,"description":847,"label":848},"Utility Types","\u002Fdocs\u002Futils\u002Ftypes","docs\u002F04.utils\u002F05.types","TypeScript utilities for safer DocLayer development","Types","tool-case",{"title":851,"path":852,"stem":853,"children":854,"description":6,"label":858,"icon":880},"Adapters","\u002Fdocs\u002Fadapters","docs\u002F05.adapters\u002F01.index",[855,859,864,870,875],{"title":856,"path":852,"stem":853,"description":857,"label":858},"Building Adapters","Build type-safe adapters to plug external services into DocLayer","Building",{"title":860,"path":861,"stem":862,"description":863},"Google","\u002Fdocs\u002Fadapters\u002Fgoogle","docs\u002F05.adapters\u002F10.google","Connect DocLayer to Google products through built-in adapters",{"title":865,"path":866,"stem":867,"description":868,"label":865,"badge":869},"PostHog","\u002Fdocs\u002Fadapters\u002Fposthog","docs\u002F05.adapters\u002F11.posthog","Record product analytics with the PostHog analytics adapter",{"label":757,"glow":651},{"title":871,"path":872,"stem":873,"description":874},"Resend","\u002Fdocs\u002Fadapters\u002Fresend","docs\u002F05.adapters\u002F20.resend","Send newsletter emails with the Resend newsletter adapter",{"title":876,"path":877,"stem":878,"description":879},"Substack","\u002Fdocs\u002Fadapters\u002Fsubstack","docs\u002F05.adapters\u002F21.substack","Subscribe users to Substack via DocLayer’s adapter","circle-fading-plus",{"title":882,"path":883,"stem":884,"children":885,"description":6,"label":669,"icon":903},"Search ✨","\u002Fdocs\u002Fsearch","docs\u002F06.search\u002F01.index",[886,889,894,898],{"title":887,"path":883,"stem":884,"description":888,"label":669},"Search Module Introduction","Brief intro into built-in DocLayer’s Search Module",{"title":890,"path":891,"stem":892,"description":893},"Installation & Usage","\u002Fdocs\u002Fsearch\u002Fusage","docs\u002F06.search\u002F02.usage","Wire DocLayer’s Search Module into your app",{"title":694,"path":895,"stem":896,"description":897},"\u002Fdocs\u002Fsearch\u002Fconfiguration","docs\u002F06.search\u002F03.configuration","Configure static search, indexing, and the AI assistant in DocLayer's Search Module",{"title":899,"path":900,"stem":901,"description":902},"API Reference","\u002Fdocs\u002Fsearch\u002Freference","docs\u002F06.search\u002F04.reference","API reference for DocLayer’s Search Module","scan-search",{"title":905,"path":906,"stem":907,"children":908,"description":6,"icon":918},"Deployment","\u002Fdocs\u002Fdeployment","docs\u002F07.deployment\u002F01.index",[909,912],{"title":910,"path":906,"stem":907,"description":911},"Building & Preparations","Build a static DocLayer app and prepare it for hosting",{"title":913,"path":914,"stem":915,"description":916,"label":917},"Vercel Deployment","\u002Fdocs\u002Fdeployment\u002Fvercel","docs\u002F07.deployment\u002F02.vercel","Deploy DocLayer to Vercel via UI, CLI, or CI","Vercel","server-crash",{"title":920,"description":6,"icon":921,"path":922,"stem":923,"children":924,"page":713},"Advanced","file-terminal","\u002Fdocs\u002Fadvanced","docs\u002F09.advanced",[925,931,936,941,946,951,956],{"title":926,"path":927,"stem":928,"description":929,"label":930},"DocLayer Monorepo","\u002Fdocs\u002Fadvanced\u002Fmonorepo","docs\u002F09.advanced\u002F02.monorepo","pnpm workspaces, Turborepo, and workflows for the DocLayer monorepo","Monorepo",{"title":932,"path":933,"stem":934,"description":935},"Globals","\u002Fdocs\u002Fadvanced\u002Fglobals","docs\u002F09.advanced\u002F03.globals","DocLayer’s global instances for easy and quick access",{"title":937,"path":938,"stem":939,"description":940},"CLI","\u002Fdocs\u002Fadvanced\u002Fcli","docs\u002F09.advanced\u002F04.cli","Use Command Line Interface to extensively menage your DocLayer project",{"title":942,"path":943,"stem":944,"description":945},"Security","\u002Fdocs\u002Fadvanced\u002Fsecurity","docs\u002F09.advanced\u002F05.security","Security defaults DocLayer ships with Nuxt Security",{"title":947,"path":948,"stem":949,"description":950},"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":952,"path":953,"stem":954,"description":955},"Error Handling","\u002Fdocs\u002Fadvanced\u002Ferror-handling","docs\u002F09.advanced\u002F07.error-handling","How DocLayer validates and reports errors in authoring, build, and production",{"title":957,"path":958,"stem":959,"description":960},"Troubleshooting","\u002Fdocs\u002Fadvanced\u002Ftroubleshooting","docs\u002F09.advanced\u002F08.troubleshooting","Known DocLayer issues and quick fixes",{"title":962,"description":6,"icon":963,"path":964,"stem":965,"children":966,"page":713},"Project","shield-ellipsis","\u002Fdocs\u002Fproject","docs\u002F10.project",[967,972,977],{"title":968,"path":969,"stem":970,"description":971},"Contribution","\u002Fdocs\u002Fproject\u002Fcontribution","docs\u002F10.project\u002F01.contribution","How to report issues and when contributions are welcome",{"title":973,"path":974,"stem":975,"description":976},"Principles","\u002Fdocs\u002Fproject\u002Fethos","docs\u002F10.project\u002F02.ethos","Who we are, what we care about, and how we treat each other",{"title":978,"path":979,"stem":980,"description":981},"Support","\u002Fdocs\u002Fproject\u002Fsupport","docs\u002F10.project\u002F03.support","Join the Early Supporter Program and help fund DocLayer’s development",{"title":899,"description":6,"icon":983,"path":984,"stem":985,"children":986,"page":713},"file-type","\u002Fdocs\u002Freference","docs\u002F99.reference",[987,992,997],{"title":988,"path":989,"stem":990,"description":991},"App Config","\u002Fdocs\u002Freference\u002Fapp-config","docs\u002F99.reference\u002F01.app-config","API Reference for DocLayer’s AppConfig",{"title":993,"path":994,"stem":995,"description":996},"Module Options","\u002Fdocs\u002Freference\u002Fmodule-options","docs\u002F99.reference\u002F01.module-options","API Reference for DocLayer’s ModuleOptions",{"title":998,"path":999,"stem":1000,"description":1001},"Content Schema","\u002Fdocs\u002Freference\u002Fcontent-schema","docs\u002F99.reference\u002F02.content-schema","API Reference for DocLayer’s Content Schema",[1003,1027,1048,1069,1097,1113,1131,1158,1180,1227,1248,1260,1275,1290,1302,1363,1381,1407,1432,1462,1506,1534],{"id":1004,"data":6,"extension":649,"meta":1005,"stem":1025,"__hash__":1026},"shared\u002Fcode-type-header-logo-path.md",{"body":1006},{"type":8,"value":1007,"toc":1023},[1008],[101,1009,1010,1018],{},[105,1011,1016],{"className":1012,"code":1014,"language":1015,"meta":111},[1013],"language-ts","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","ts",[15,1017,1014],{"__ignoreMap":111},[123,1019,1020],{"v-slot:ui":111},[11,1021,1022],{},"{\"actions\": \"hidden\", \"base\": \"mt-0!\"}",{"title":111,"searchDepth":637,"depth":637,"links":1024},[],"code-type-header-logo-path","551Sg_POiUffLU346shstXNFdKuMuK4ToyOLqIJp1Ws",{"id":1028,"data":6,"extension":649,"meta":1029,"stem":1046,"__hash__":1047},"shared\u002Fcode-type-module-options-root-prep.md",{"body":1030},{"type":8,"value":1031,"toc":1044},[1032],[101,1033,1034,1040],{},[105,1035,1038],{"className":1036,"code":1037,"language":1015,"meta":111},[1013],"type ModuleOptions = {\n  rootPrep:\n    | {\n        components: boolean;\n        configs: boolean;\n        public: boolean;\n      }\n    | boolean;\n};\n\"cref:bqm9nh\"\n",[15,1039,1037],{"__ignoreMap":111},[123,1041,1042],{"v-slot:ui":111},[11,1043,1022],{},{"title":111,"searchDepth":637,"depth":637,"links":1045},[],"code-type-module-options-root-prep","CDd6YiejS7_3Pl2ETS054y-cran1P92f4jEUZTnpnOI",{"id":1049,"data":6,"extension":649,"meta":1050,"stem":1067,"__hash__":1068},"shared\u002Fcode-type-search-debug-options.md",{"body":1051},{"type":8,"value":1052,"toc":1065},[1053],[101,1054,1055,1061],{},[105,1056,1059],{"className":1057,"code":1058,"language":1015,"meta":111},[1013],"type DebugOptions =\n  | {\n      mint: boolean;\n      parser: boolean;\n      assistant: boolean;\n      compression: boolean;\n    }\n  | boolean;\n\"cref:4kwyr2\"\n",[15,1060,1058],{"__ignoreMap":111},[123,1062,1063],{"v-slot:ui":111},[11,1064,1022],{},{"title":111,"searchDepth":637,"depth":637,"links":1066},[],"code-type-search-debug-options","9sgMqYFmn561p6df7FEuf-1-dyKAqrO_HYGdARynLlA",{"id":1070,"data":6,"extension":649,"meta":1071,"stem":1095,"__hash__":1096},"shared\u002Finline-read-more-about.md",{"body":1072},{"type":8,"value":1073,"toc":1093},[1074],[11,1075,1078,1079,296,1083],{"className":1076},[1077],"mt-0!","More about ",[1080,1081],"dl-format",{":content":1082},"about",[180,1084,1086,325,1090],{"label":1085},"you can read here",[1087,1088],"binding",{"value":1089},"$doc.link",[1087,1091],{"value":1092},"$doc.hash",{"title":111,"searchDepth":637,"depth":637,"links":1094},[],"inline-read-more-about","O5VeK2Uv84witk_mAupYbHJxwXAmNoSKDgtmvyvLQwU",{"id":1098,"data":6,"extension":649,"meta":1099,"stem":1111,"__hash__":1112},"shared\u002Fsection-exported-types.md",{"body":1100},{"type":8,"value":1101,"toc":1109},[1102],[11,1103,1104,1105,1108],{},"You can refer to the exported types, which are available for use throughout your application. All of them can be accessed from the ",[15,1106,1107],{},"@vuehouse\u002Fdl\u002Ftypes"," entrypoint.",{"title":111,"searchDepth":637,"depth":637,"links":1110},[],"section-exported-types","SyCNSGhT7VGICRHuO3fNO2QfyQUf7s10wVMGQyTfBFk",{"id":1114,"data":6,"extension":649,"meta":1115,"stem":1129,"__hash__":1130},"shared\u002Fsection-highlighter-marker-disclaimer.md",{"body":1116},{"type":8,"value":1117,"toc":1127},[1118],[1119,1120,1121],"blockquote",{},[11,1122,13,1123,1126],{},[15,1124,1125],{},"!"," character has been escaped manually to demonstrate the code usage, remove the backslash when using it.",{"title":111,"searchDepth":637,"depth":637,"links":1128},[],"section-highlighter-marker-disclaimer","DvlAILaQ9PE_c-B8f_1AYbrRaXRnOq9Ldr_Uc8qwkqE",{"id":1132,"data":6,"extension":649,"meta":1133,"stem":1156,"__hash__":1157},"shared\u002Fsection-newly-added.md",{"body":1134},{"type":8,"value":1135,"toc":1154},[1136],[148,1137,1139],{"title":1138},"false",[11,1140,1141,1145,1146,1153],{},[1142,1143,757],"dl-badge",{":iui":1144,"glow":448,"size":649},"{ \"base\": \"mr-1 align-text-top\" }"," Available from the ",[15,1147,1150],{"className":1148},[1149],"whitespace-nowrap",[1087,1151],{"value":1152},"$doc.version"," release.",{"title":111,"searchDepth":637,"depth":637,"links":1155},[],"section-newly-added","ALhVdWjkGXgjt6I9nIikz7fUkwkGy62V3bicM903qW8",{"id":1159,"data":6,"extension":649,"meta":1160,"stem":1178,"__hash__":1179},"shared\u002Fsection-optional-tool.md",{"body":1161},{"type":8,"value":1162,"toc":1176},[1163],[148,1164,1165],{"title":1138,"type":151},[11,1166,1167,1168,1171,1172,77],{},"This tool is not a part of the DocLayer module. Its usage is opinionated and ",[19,1169,1170],{},"optionally included"," in the ",[180,1173,1175],{"label":1174},"Boilerplate application","$dl-boilerplate",{"title":111,"searchDepth":637,"depth":637,"links":1177},[],"section-optional-tool","OWRAq0rKvbIllQHS-mJRS8L2qkNiiQ8RMiFBIBiZmnY",{"id":1181,"data":6,"extension":649,"meta":1182,"stem":1225,"__hash__":1226},"shared\u002Fsection-props-extending.md",{"body":1183},{"type":8,"value":1184,"toc":1223},[1185],[148,1186,1188,1200],{"title":1187,"type":151},"Why to use built-in property extending?",[11,1189,1190,1191,1199],{},"You might ask ",[19,1192,1193,1194],{},"why this approach is better than simply ",[180,1195,1198],{"hash":1196,"label":1197},"defining-dynamic-properties","passing regular dynamic properties","$docs-guidelines-writing-content"," to your content components?",[36,1201,1202,1210,1217,1220],{},[39,1203,1204,1205,77],{},"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 ",[180,1206,1209],{"hash":1207,"label":1208},"dlindocdata","`dl.inDocData` object","$docs-guidelines-configuration",[39,1211,1212,1213,1216],{},"Second, dynamic property binding with the ",[15,1214,1215],{},"$doc"," handler isn’t possible when using regular dynamic props, since those values are resolved as static data, which can make data binding inconsistent.",[39,1218,1219],{},"Third, you can mix static and dynamic content for the same property.",[39,1221,1222],{},"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":111,"searchDepth":637,"depth":637,"links":1224},[],"section-props-extending","_KvOHw4F9cNT3FPfJPu3rKhnly5pt4adBb6EQXsJM8s",{"id":1228,"data":6,"extension":649,"meta":1229,"stem":1246,"__hash__":1247},"shared\u002Fsection-props-intro.md",{"body":1230},{"type":8,"value":1231,"toc":1244},[1232],[11,1233,1234,1235,1240,1241,77],{},"Here are the properties you can use with the ",[15,1236,1237],{},[1087,1238],{"value":1239},"$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 ",[180,1242,1198],{"hash":1243,"label":1085},"defining-properties",{"title":111,"searchDepth":637,"depth":637,"links":1245},[],"section-props-intro","SKoDIW1kVb4amM1MgbWMvvgRr9IWPabKr58_xl1Q-GM",{"id":1249,"data":6,"extension":649,"meta":1250,"stem":1258,"__hash__":1259},"shared\u002Fsection-props-iui-description.md",{"body":1251},{"type":8,"value":1252,"toc":1256},[1253],[11,1254,1255],{},"Special property dedicated to inline components, can be used to add TW classes for certain component markup elements.",{"title":111,"searchDepth":637,"depth":637,"links":1257},[],"section-props-iui-description","Se96jxhroK3WLRE4HXYqDeoYv1lpUd8qv4vZ8us54sI",{"id":1261,"data":6,"extension":649,"meta":1262,"stem":1273,"__hash__":1274},"shared\u002Fsection-props-ui-default.md",{"body":1263},{"type":8,"value":1264,"toc":1271},[1265],[11,1266,1267],{"style":360},[584,1268,1270],{"href":1269},"#styling","see below",{"title":111,"searchDepth":637,"depth":637,"links":1272},[],"section-props-ui-default","5mkrOeoYp1BToIddCkwyzzTWeOQvj1gDVRYHJJl7kow",{"id":1276,"data":6,"extension":649,"meta":1277,"stem":1288,"__hash__":1289},"shared\u002Fsection-props-ui-description.md",{"body":1278},{"type":8,"value":1279,"toc":1286},[1280],[11,1281,1282,1283,1285],{"style":453},"The component ",[15,1284,605],{}," object. Defines the Tailwind classes for the component's HTML markup elements.",{"title":111,"searchDepth":637,"depth":637,"links":1287},[],"section-props-ui-description","xXl6RjZ54x2VpJv6H1mJ7OSCTSOfMTtRD1_VyiC0tjI",{"id":1291,"data":6,"extension":649,"meta":1292,"stem":1300,"__hash__":1301},"shared\u002Fsection-props-ui-type.md",{"body":1293},{"type":8,"value":1294,"toc":1298},[1295],[15,1296,1297],{"style":360},"() => UI",{"title":111,"searchDepth":637,"depth":637,"links":1299},[],"section-props-ui-type","AuxEvFbnpnbFrEjJrYiNJVZsYmI8RkEnH9RjkkuoaSQ",{"id":1303,"data":6,"extension":649,"meta":1304,"stem":1361,"__hash__":1362},"shared\u002Fsection-remote-model-callout.md",{"body":1305},{"type":8,"value":1306,"toc":1359},[1307],[148,1308,1310,1316,1326,1329,1338,1348],{"title":1309},"DocLayer's Remote Model",[11,1311,1312,1315],{},[19,1313,1314],{},"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.",[11,1317,1318,77],{},[19,1319,1320,1321,1325],{},"Our carefully fine-tuned model is available through the ",[180,1322,1324],{"label":1323},"🫠 Early Supporter Program","$docs-project-support"," - help us to build the best product possible securing the most advanced features for the best price",[11,1327,1328],{},"Here’s how you can configure it:",[101,1330,1332],{"tabs":1331},"nuxt.config.ts",[105,1333,1336],{"className":1334,"code":1335,"language":1015,"meta":111},[1013],"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",[15,1337,1335],{"__ignoreMap":111},[11,1339,1340,1341,1344,1345,77],{},"To try our API please ",[180,1342,1343],{},"$mailto-vue-house",". ",[19,1346,1347],{},"It's free",[11,1349,1350,1351,17,1354,77],{},"Remote ",[19,1352,1353],{},"API operates with a dedicated",[180,1355,1358],{"label":1356,"hash":1357},"DocLayer AI Kit","ai-kit","$docs-search-usage",{"title":111,"searchDepth":637,"depth":637,"links":1360},[],"section-remote-model-callout","C3AapTL9Uu5tqauRWl5GqZc8aOld3-yEvscN9Dwfp2M",{"id":1364,"data":6,"extension":649,"meta":1365,"stem":1379,"__hash__":1380},"shared\u002Fsection-slots-ui-description.md",{"body":1366},{"type":8,"value":1367,"toc":1377},[1368],[11,1369,1370,1371,1373,1374,77],{},"Dedicated slot for defining the component’s ",[15,1372,605],{}," object. More about styling MDC components ",[180,1375,1376],{"label":1085},"$docs-components-building",{"title":111,"searchDepth":637,"depth":637,"links":1378},[],"section-slots-ui-description","HFR6PT0KFzSBW9WnqIk5KdPqHjGTTl3za3mklYIIYUY",{"id":1382,"data":6,"extension":649,"meta":1383,"stem":1405,"__hash__":1406},"shared\u002Fsection-styling-css-classes-intro.md",{"body":1384},{"type":8,"value":1385,"toc":1403},[1386],[11,1387,1388,1389,1393,1394,1398,1399,1402],{},"Below are the CSS utility classes used by the ",[15,1390,1391],{},[1087,1392],{"value":1239}," component. They make use of the ",[584,1395,1397],{"href":1396},"#css-variables","CSS variables"," described above and ",[584,1400,1401],{"href":1269},"define the default styling"," for the component's markup elements.",{"title":111,"searchDepth":637,"depth":637,"links":1404},[],"section-styling-css-classes-intro","VRtlxQ59m9iNVrWHp9r1OAy2lkklqQPtKbRIkwVCY6A",{"id":1408,"data":6,"extension":649,"meta":1409,"stem":1430,"__hash__":1431},"shared\u002Fsection-styling-css-variables-intro.md",{"body":1410},{"type":8,"value":1411,"toc":1428},[1412],[11,1413,1414,1415,1418,1419,1423,1424,77],{},"Here is a set of CSS variables you can ",[19,1416,1417],{},"use to customize the appearance"," of the ",[15,1420,1421],{},[1087,1422],{"value":1239}," component globally. More about theming and styling with CSS variables, ",[180,1425,1427],{"hash":1426,"label":1085},"css-variables","$docs-guidelines-theming",{"title":111,"searchDepth":637,"depth":637,"links":1429},[],"section-styling-css-variables-intro","Vk6yVXoMwLNtqisCZhk9m2F3-wHKjiujWtBBZbTJcD4",{"id":1433,"data":6,"extension":649,"meta":1434,"stem":1460,"__hash__":1461},"shared\u002Fsection-styling-intro.md",{"body":1435},{"type":8,"value":1436,"toc":1458},[1437,1450],[148,1438,1440],{"title":1439,"type":151},"Styling from Markdown",[11,1441,1442,1443,1446,1447,77],{},"Every DocLayer component ",[19,1444,1445],{},"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 ",[180,1448,1376],{"hash":1449,"label":1085},"styling-inside-the-markdown-files",[11,1451,1452,1453],{},"Below you'll find the default set of Tailwind classes for the component's dedicated markup elements. ",[1080,1454,1455],{},[1087,1456],{"defaultValue":496,"value":1457},"$doc.extend",{"title":111,"searchDepth":637,"depth":637,"links":1459},[],"section-styling-intro","8V_zEj7QXax6dzKp918ZNy97d9u4qk6TaE40wI5JWEs",{"id":1463,"data":6,"extension":649,"meta":1464,"stem":1504,"__hash__":1505},"shared\u002Fsection-utility-exports-disclaimer.md",{"body":1465},{"type":8,"value":1466,"toc":1502},[1467],[148,1468,1469,1476,1495],{"title":1138,"type":151},[11,1470,1471,1472,1475],{},"This utility is ",[19,1473,1474],{},"exported from the module"," package.",[101,1477,1480,1486],{"dynamic":1478,"tabs":1479},"utilityName","file.ts",[105,1481,1484],{"className":1482,"code":1483,"language":1015,"meta":111},[1013],"import { :dl-dynamic: } from '@vuehouse\u002Fdl\u002Fexports';\n\"cref:zseli7\"\n",[15,1485,1483],{"__ignoreMap":111},[123,1487,1488],{"v-slot:props":111},[11,1489,1490,1491,1494],{},"{\"dynamic\": \"",[1087,1492],{"value":1493},"$doc.utilityName","\" }",[11,1496,1497,1498,1501],{},"You can use it this way ",[19,1499,1500],{},"when the global context is not available"," and utility can't be loaded automatically by Nuxt.",{"title":111,"searchDepth":637,"depth":637,"links":1503},[],"section-utility-exports-disclaimer","FXCXHiiD49oOkbSwsKFpp4m0gsXkZdnUwCwWnVjwucI",{"id":1507,"data":6,"extension":649,"meta":1508,"stem":1532,"__hash__":1533},"shared\u002Ftooltip-app-config-path.md",{"body":1509},{"type":8,"value":1510,"toc":1530},[1511],[1512,1513,1516],"dl-tooltip",{"label":1514,"tooltip":1515},"`app.config.ts`","In-app file path: app\u002Fapp.config.ts",[123,1517,1518],{"v-slot:props":111},[11,1519,1520,1521,1525,1526,1529],{},"{\"tooltip\": \"In-app file path: ",[1087,1522],{"defaultValue":1523,"value":1524},"app\u002Fapp.config.ts","$doc.tooltip","\", \"label\": \"",[1087,1527],{"defaultValue":1514,"value":1528},"$doc.label","\"}",{"title":111,"searchDepth":637,"depth":637,"links":1531},[],"tooltip-app-config-path","WVDQKyALt7paYD6Tr7K10fmQ27d2XjzO_oxDKHCgSdc",{"id":1535,"data":6,"extension":649,"meta":1536,"stem":1545,"__hash__":1546},"shared\u002Ftooltip-rag.md",{"body":1537},{"type":8,"value":1538,"toc":1543},[1539],[1512,1540],{"label":1541,"lock-width":448,"tooltip":1542},"**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":111,"searchDepth":637,"depth":637,"links":1544},[],"tooltip-rag","fDKuZzfT8d6JNox0uI1P0_ktG8kYWiz7WGsWWo7gTGs",[1548,1550,1551,1552],{"title":784,"path":785,"stem":786,"description":787,"badge":1549,"children":-1},{"label":757,"glow":651},{"title":790,"path":791,"stem":792,"description":793,"children":-1},{"title":796,"path":797,"stem":798,"description":799,"children":-1},{"title":801,"path":802,"stem":803,"description":804,"children":-1},1795796066256]