[{"data":1,"prerenderedAt":568},["ShallowReactive",2],{"\u002Fdocs\u002Fadvanced\u002Ftroubleshooting":3,"dl-navigation-docs":219,"surroundings-\u002Fdocs\u002Fadvanced\u002Ftroubleshooting":563},{"id":4,"title":5,"_llmSection":6,"_local":6,"_schemaOrg":6,"_seo":6,"body":7,"description":210,"extension":211,"ignore":6,"meta":212,"navigation":213,"path":214,"seo":215,"sitemap":216,"stem":217,"__hash__":218},"docs\u002Fdocs\u002F09.advanced\u002F08.troubleshooting.md","Troubleshooting",null,{"type":8,"value":9,"toc":200},"minimark",[10,33,58,89,115],[11,12,14,18],"dl-section",{"id":13},"introduction",[15,16,17],"h2",{"id":13},"Introduction",[19,20,21,22,26,27,32],"p",{},"Here you can find a ",[23,24,25],"strong",{},"list of well-known issues and problems"," that you may encounter. We've gathered these together with quick fixes that you can use or implement while working with DocLayer. For the full picture of how errors, warnings, and logs work across the application's lifecycle, ",[28,29,31],"dl-link",{"label":30},"read here","$docs-advanced-error-handling",".",[11,34,36,40,43],{"id":35},"hmr-and-content-parsing-issues",[37,38,39],"h3",{"id":35},"HMR and content parsing issues",[19,41,42],{},"During development, we've noticed that the presence of the Nuxt's Virtual File System can sometimes cause content rendering issues when hot-reloading. While this doesn't happen frequently, it may occasionally occur. To prevent this issue, you can easily disable HMR (hot module replacement) on the client side by setting the following environment variable:",[44,45,47],"dl-code",{"tabs":46},".env",[48,49,55],"pre",{"className":50,"code":52,"language":53,"meta":54},[51],"language-bash","DL_HMR=false\n\"cref:hzcycy\"\n","bash","",[56,57,52],"code",{"__ignoreMap":54},[11,59,61,65,81],{"id":60},"unable-to-bind-data-inside-the-component-s-props",[37,62,64],{"id":63},"unable-to-bind-data-inside-the-components-props","Unable to bind data inside the component's props",[19,66,67,68,71,72,76,77,32],{},"Currently, there's no way to use dynamic data binding (using ",[56,69,70],{},"$doc"," handler) within the properties of content components - MDC doesn't support this out of the box. However, we provide an option to inject dynamic data into any content block component that is built with ",[28,73,75],{"label":74},"`DlWrapper`","$docs-components-building",". Everything you need to know about this ",[28,78,75],{"label":79,"hash":80},"you can find here","using-dynamic-data-within-content-components",[19,82,83,84,88],{},"Additionally, it's worth mentioning that ",[28,85,87],{"label":86},"`DlRenderer`","$docs-components-renderer"," is also capable to do this for any of shared content components.",[11,90,92,98],{"id":91},"contentinsert-foreach-is-not-a-function",[37,93,95],{"id":94},"contentinsertforeach-is-not-a-function",[56,96,97],{},"contentInsert.forEach is not a function",[19,99,100,101,104,105,110,111,32],{},"While writing your content, the ",[56,102,103],{},"dl-search"," module might report issues with parsing the content AST. Almost every time, this is caused by incorrectly formatted code blocks. To prevent this, you can escape problematic sections using ",[106,107],"dl-tooltip",{"label":108,"tooltip":109},"`[[ esc ]]...[[ \u002Fesc ]]`","Spaces in tags added only to prevent escaping"," tags. Everything about resolving this issue ",[28,112,114],{"label":113},"you can learn here","$docs-components-code",[11,116,118,121,125,128,131,139,142,162,173,180],{"id":117},"chrome-devtools-request",[37,119,120],{"id":117},"Chrome DevTools request",[122,123,124],"dl-prompter",{},"chrome devtools json 404",[122,126,127],{},"well-known appspecific com.chrome.devtools.json request error",[19,129,130],{},"With DevTools open, Chrome requests a workspace file. The dev server then prints:",[44,132,133],{},[48,134,137],{"className":135,"code":136,"language":53,"meta":54},[51],"[request error] [fatal] [GET] http:\u002F\u002Flocalhost:3000\u002F.well-known\u002Fappspecific\u002Fcom.chrome.devtools.json\n\"cref:btwocd\"\n",[56,138,136],{"__ignoreMap":54},[19,140,141],{},"DocLayer does not create this file, and it is not one of your content routes. Chrome sends the request so it can map the open site to your local project. The route is missing, so Nitro reports a 404. Pages, content, and the build are unaffected.",[19,143,144,145,150,151,154,155,158,159,161],{},"To answer the probe instead of throwing a 404, keep Nuxt's dev handler on. ",[28,146,149],{"label":147,"path":148},"`experimental.chromeDevtoolsProjectSettings`","api\u002Fnuxt-config#experimental","$nuxt-docs"," defaults to ",[56,152,153],{},"true",". It registers a development-only route that returns a small JSON payload: a workspace id and the project root. That response is generated at runtime. It is not a file you add under ",[56,156,157],{},"public\u002F",". If you turned the flag off, set it back to ",[56,160,153],{}," and restart the dev server:",[44,163,165],{"tabs":164},"nuxt.config.ts",[48,166,171],{"className":167,"code":169,"language":170,"meta":54},[168],"language-ts","export default defineNuxtConfig({\n  experimental: {\n    chromeDevtoolsProjectSettings: true,\n  },\n});\n\"cref:5vhds7\"\n","ts",[56,172,169],{"__ignoreMap":54},[19,174,175,176,179],{},"Setting the flag to ",[56,177,178],{},"false"," removes that handler, so Chrome keeps receiving a 404 and the same log stays.",[19,181,182,183,188,189,192,193,196,197,32],{},"The path is already included in ",[28,184,187],{"label":185,"hash":186},"`utilWarnPatternCheck`","utilwarnpatterncheck","$docs-utils-utilities",". That filter mutes matching Vue and DocLayer logs. It does not cover this ",[56,190,191],{},"[request error]"," line. ",[28,194,195],{},"$nitro"," prints it from its own dev error handler before the filter runs, so the line can still show up. For the rest of the logging pipeline, ",[28,198,31],{"label":199},"see error handling",{"title":54,"searchDepth":201,"depth":201,"links":202},2,[203],{"id":13,"depth":201,"text":17,"children":204},[205,207,208,209],{"id":35,"depth":206,"text":39},3,{"id":63,"depth":206,"text":64},{"id":94,"depth":206,"text":97},{"id":117,"depth":206,"text":120},"Known DocLayer issues and quick fixes","md",{},true,"\u002Fdocs\u002Fadvanced\u002Ftroubleshooting",{"title":5,"description":210},{"loc":214},"docs\u002F09.advanced\u002F08.troubleshooting","GPwy96SYW0uggnB2atdorVoRlWc6DBW-SWhiQwNl3Is",[220],{"title":221,"path":222,"stem":223,"children":224,"page":274},"Docs","\u002Fdocs","docs",[225,243,275,386,415,446,469,484,522,543],{"title":226,"path":227,"stem":228,"children":229,"description":6,"icon":242},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F01.getting-started\u002F01.index",[230,232,237],{"title":17,"path":227,"stem":228,"description":231},"What DocLayer is, who it’s for, and how it can help",{"title":233,"path":234,"stem":235,"description":236},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F01.getting-started\u002F02.installation","How to install and run DocLayer",{"title":238,"path":239,"stem":240,"description":241},"FAQ","\u002Fdocs\u002Fgetting-started\u002Ffaq","docs\u002F01.getting-started\u002F03.faq","Frequently asked questions about DocLayer","rocket",{"title":244,"description":6,"icon":245,"path":246,"stem":247,"children":248,"page":274},"Guidelines","file-pen-line","\u002Fdocs\u002Fguidelines","docs\u002F02.guidelines",[249,254,259,264,269],{"title":250,"path":251,"stem":252,"description":253},"Internals","\u002Fdocs\u002Fguidelines\u002Finternals","docs\u002F02.guidelines\u002F02.internals","How DocLayer's structure, its architecture and internals fit together",{"title":255,"path":256,"stem":257,"description":258},"Configuration","\u002Fdocs\u002Fguidelines\u002Fconfiguration","docs\u002F02.guidelines\u002F03.configuration","Customize DocLayer via `app.config.ts` and its configuration",{"title":260,"path":261,"stem":262,"description":263},"Writing Content","\u002Fdocs\u002Fguidelines\u002Fwriting-content","docs\u002F02.guidelines\u002F04.writing-content","Write Markdown with Nuxt Content, DocLayer and prebuilt utilities",{"title":265,"path":266,"stem":267,"description":268},"Defining Metadata","\u002Fdocs\u002Fguidelines\u002Fdefining-metadata","docs\u002F02.guidelines\u002F05.defining-metadata","Set global and per-page SEO metadata for your DocLayer app",{"title":270,"path":271,"stem":272,"description":273},"Theming","\u002Fdocs\u002Fguidelines\u002Ftheming","docs\u002F02.guidelines\u002F06.theming","Customize DocLayer’s look with CSS variables and utility classes",false,{"title":276,"path":277,"stem":278,"children":279,"description":6,"label":17,"icon":385},"Components","\u002Fdocs\u002Fcomponents","docs\u002F03.components\u002F01.index",[280,283,289,294,299,304,309,314,319,324,329,334,339,344,350,355,360,365,370,375,380],{"title":281,"path":277,"stem":278,"description":282,"label":17},"Components Introduction","Overview of DocLayer’s built-in Markdown content components",{"title":284,"path":285,"stem":286,"description":287,"label":288},"Components Building & Styling","\u002Fdocs\u002Fcomponents\u002Fbuilding","docs\u002F03.components\u002F02.building","Create custom content components with DlWrapper","DlWrapper",{"title":290,"path":291,"stem":292,"description":293},"DlRenderer","\u002Fdocs\u002Fcomponents\u002Frenderer","docs\u002F03.components\u002F03.renderer","Render reusable, shareable Markdown fragments anywhere in your content",{"title":295,"path":296,"stem":297,"description":298},"DlLink","\u002Fdocs\u002Fcomponents\u002Flink","docs\u002F03.components\u002F04.link","Create internal links resolved from the global path registry",{"title":300,"path":301,"stem":302,"description":303},"DlCode","\u002Fdocs\u002Fcomponents\u002Fcode","docs\u002F03.components\u002F05.code","Display your code snippets with syntax highlighting, copy, tabs, transformations and more",{"title":305,"path":306,"stem":307,"description":308},"DlCodeInline","\u002Fdocs\u002Fcomponents\u002Finline-code","docs\u002F03.components\u002F05.inline-code","Display inline code that stays on one line",{"title":310,"path":311,"stem":312,"description":313},"DlCallout","\u002Fdocs\u002Fcomponents\u002Fcallout","docs\u002F03.components\u002F06.callout","Display notes, warnings, and alerts as type-based callout blocks",{"title":305,"path":315,"stem":316,"description":308,"badge":317},"\u002Fdocs\u002Fcomponents\u002Fcode-inline","docs\u002F03.components\u002F06.code-inline",{"label":318,"glow":213},"new",{"title":320,"path":321,"stem":322,"description":323},"DlBadge","\u002Fdocs\u002Fcomponents\u002Fbadge","docs\u002F03.components\u002F07.badge","Show compact type-based status labels",{"title":325,"path":326,"stem":327,"description":328},"DlImage","\u002Fdocs\u002Fcomponents\u002Fimage","docs\u002F03.components\u002F08.image","Present optimized, responsive images with optional caption and inline styling",{"title":330,"path":331,"stem":332,"description":333},"DlStepper","\u002Fdocs\u002Fcomponents\u002Fstepper","docs\u002F03.components\u002F09.stepper","List vertical step sequences using named slots",{"title":335,"path":336,"stem":337,"description":338},"DlTooltip","\u002Fdocs\u002Fcomponents\u002Ftooltip","docs\u002F03.components\u002F10.tooltip","Annotate with contextual configurable tooltips",{"title":340,"path":341,"stem":342,"description":343},"DlPrompter","\u002Fdocs\u002Fcomponents\u002Fprompter","docs\u002F03.components\u002F11.prompter","Prompt the search index and AI Assistant with hidden, removable content inserts",{"title":345,"path":346,"stem":347,"description":348,"badge":349},"DlFormat","\u002Fdocs\u002Fcomponents\u002Fformat","docs\u002F03.components\u002F12.format","Format Markdown content into a structured HTML output",{"label":318,"glow":213},{"title":351,"path":352,"stem":353,"description":354},"DlSection","\u002Fdocs\u002Fcomponents\u002Fsection","docs\u002F03.components\u002F13.section","Wrap and demarcate content sections",{"title":356,"path":357,"stem":358,"description":359},"DlGrid","\u002Fdocs\u002Fcomponents\u002Fgrid","docs\u002F03.components\u002F14.grid","Lay out named content items in a responsive grid",{"title":361,"path":362,"stem":363,"description":364},"DlHero","\u002Fdocs\u002Fcomponents\u002Fhero","docs\u002F03.components\u002F20.hero","Present a prominent page hero with title, lead and CTA",{"title":366,"path":367,"stem":368,"description":369},"DlHeading","\u002Fdocs\u002Fcomponents\u002Fheading","docs\u002F03.components\u002F21.heading","Divide content with section headings",{"title":371,"path":372,"stem":373,"description":374},"DlFeaturesGrid","\u002Fdocs\u002Fcomponents\u002Ffeatures-grid","docs\u002F03.components\u002F22.features-grid","Render a responsive features grid with animated and formatted tiles",{"title":376,"path":377,"stem":378,"description":379},"DlNewsletter","\u002Fdocs\u002Fcomponents\u002Fnewsletter","docs\u002F03.components\u002F23.newsletter","Collect newsletter subscriptions with a styled form",{"title":381,"path":382,"stem":383,"description":384},"DlTypeman","\u002Fdocs\u002Fcomponents\u002Ftypeman","docs\u002F03.components\u002F24.typeman","Animate rotating words with a blinking cursor effect","brick-wall",{"title":387,"path":388,"stem":389,"children":390,"description":6,"label":17,"icon":414},"Utilities","\u002Fdocs\u002Futils","docs\u002F04.utils\u002F01.index",[391,394,398,403,408],{"title":392,"path":388,"stem":389,"description":393,"label":17},"Utilities Introduction","Helpers, composables, macros, and types for extending DocLayer beyond Markdown",{"title":387,"path":395,"stem":396,"description":397},"\u002Fdocs\u002Futils\u002Futilities","docs\u002F04.utils\u002F02.utilities","Auto-imported helper functions for common tasks across DocLayer",{"title":399,"path":400,"stem":401,"description":402},"Composables","\u002Fdocs\u002Futils\u002Fcomposables","docs\u002F04.utils\u002F03.composables","Vue composables for collections, UI resolution, navigation, and content",{"title":404,"path":405,"stem":406,"description":407},"Macros","\u002Fdocs\u002Futils\u002Fmacros","docs\u002F04.utils\u002F04.macros","Compile-time macros for typed app config, adapters, and component UI",{"title":409,"path":410,"stem":411,"description":412,"label":413},"Utility Types","\u002Fdocs\u002Futils\u002Ftypes","docs\u002F04.utils\u002F05.types","TypeScript utilities for safer DocLayer development","Types","tool-case",{"title":416,"path":417,"stem":418,"children":419,"description":6,"label":423,"icon":445},"Adapters","\u002Fdocs\u002Fadapters","docs\u002F05.adapters\u002F01.index",[420,424,429,435,440],{"title":421,"path":417,"stem":418,"description":422,"label":423},"Building Adapters","Build type-safe adapters to plug external services into DocLayer","Building",{"title":425,"path":426,"stem":427,"description":428},"Google","\u002Fdocs\u002Fadapters\u002Fgoogle","docs\u002F05.adapters\u002F10.google","Connect DocLayer to Google products through built-in adapters",{"title":430,"path":431,"stem":432,"description":433,"label":430,"badge":434},"PostHog","\u002Fdocs\u002Fadapters\u002Fposthog","docs\u002F05.adapters\u002F11.posthog","Record product analytics with the PostHog analytics adapter",{"label":318,"glow":213},{"title":436,"path":437,"stem":438,"description":439},"Resend","\u002Fdocs\u002Fadapters\u002Fresend","docs\u002F05.adapters\u002F20.resend","Send newsletter emails with the Resend newsletter adapter",{"title":441,"path":442,"stem":443,"description":444},"Substack","\u002Fdocs\u002Fadapters\u002Fsubstack","docs\u002F05.adapters\u002F21.substack","Subscribe users to Substack via DocLayer’s adapter","circle-fading-plus",{"title":447,"path":448,"stem":449,"children":450,"description":6,"label":17,"icon":468},"Search ✨","\u002Fdocs\u002Fsearch","docs\u002F06.search\u002F01.index",[451,454,459,463],{"title":452,"path":448,"stem":449,"description":453,"label":17},"Search Module Introduction","Brief intro into built-in DocLayer’s Search Module",{"title":455,"path":456,"stem":457,"description":458},"Installation & Usage","\u002Fdocs\u002Fsearch\u002Fusage","docs\u002F06.search\u002F02.usage","Wire DocLayer’s Search Module into your app",{"title":255,"path":460,"stem":461,"description":462},"\u002Fdocs\u002Fsearch\u002Fconfiguration","docs\u002F06.search\u002F03.configuration","Configure static search, indexing, and the AI assistant in DocLayer's Search Module",{"title":464,"path":465,"stem":466,"description":467},"API Reference","\u002Fdocs\u002Fsearch\u002Freference","docs\u002F06.search\u002F04.reference","API reference for DocLayer’s Search Module","scan-search",{"title":470,"path":471,"stem":472,"children":473,"description":6,"icon":483},"Deployment","\u002Fdocs\u002Fdeployment","docs\u002F07.deployment\u002F01.index",[474,477],{"title":475,"path":471,"stem":472,"description":476},"Building & Preparations","Build a static DocLayer app and prepare it for hosting",{"title":478,"path":479,"stem":480,"description":481,"label":482},"Vercel Deployment","\u002Fdocs\u002Fdeployment\u002Fvercel","docs\u002F07.deployment\u002F02.vercel","Deploy DocLayer to Vercel via UI, CLI, or CI","Vercel","server-crash",{"title":485,"description":6,"icon":486,"path":487,"stem":488,"children":489,"page":274},"Advanced","file-terminal","\u002Fdocs\u002Fadvanced","docs\u002F09.advanced",[490,496,501,506,511,516,521],{"title":491,"path":492,"stem":493,"description":494,"label":495},"DocLayer Monorepo","\u002Fdocs\u002Fadvanced\u002Fmonorepo","docs\u002F09.advanced\u002F02.monorepo","pnpm workspaces, Turborepo, and workflows for the DocLayer monorepo","Monorepo",{"title":497,"path":498,"stem":499,"description":500},"Globals","\u002Fdocs\u002Fadvanced\u002Fglobals","docs\u002F09.advanced\u002F03.globals","DocLayer’s global instances for easy and quick access",{"title":502,"path":503,"stem":504,"description":505},"CLI","\u002Fdocs\u002Fadvanced\u002Fcli","docs\u002F09.advanced\u002F04.cli","Use Command Line Interface to extensively menage your DocLayer project",{"title":507,"path":508,"stem":509,"description":510},"Security","\u002Fdocs\u002Fadvanced\u002Fsecurity","docs\u002F09.advanced\u002F05.security","Security defaults DocLayer ships with Nuxt Security",{"title":512,"path":513,"stem":514,"description":515},"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":517,"path":518,"stem":519,"description":520},"Error Handling","\u002Fdocs\u002Fadvanced\u002Ferror-handling","docs\u002F09.advanced\u002F07.error-handling","How DocLayer validates and reports errors in authoring, build, and production",{"title":5,"path":214,"stem":217,"description":210},{"title":523,"description":6,"icon":524,"path":525,"stem":526,"children":527,"page":274},"Project","shield-ellipsis","\u002Fdocs\u002Fproject","docs\u002F10.project",[528,533,538],{"title":529,"path":530,"stem":531,"description":532},"Contribution","\u002Fdocs\u002Fproject\u002Fcontribution","docs\u002F10.project\u002F01.contribution","How to report issues and when contributions are welcome",{"title":534,"path":535,"stem":536,"description":537},"Principles","\u002Fdocs\u002Fproject\u002Fethos","docs\u002F10.project\u002F02.ethos","Who we are, what we care about, and how we treat each other",{"title":539,"path":540,"stem":541,"description":542},"Support","\u002Fdocs\u002Fproject\u002Fsupport","docs\u002F10.project\u002F03.support","Join the Early Supporter Program and help fund DocLayer’s development",{"title":464,"description":6,"icon":544,"path":545,"stem":546,"children":547,"page":274},"file-type","\u002Fdocs\u002Freference","docs\u002F99.reference",[548,553,558],{"title":549,"path":550,"stem":551,"description":552},"App Config","\u002Fdocs\u002Freference\u002Fapp-config","docs\u002F99.reference\u002F01.app-config","API Reference for DocLayer’s AppConfig",{"title":554,"path":555,"stem":556,"description":557},"Module Options","\u002Fdocs\u002Freference\u002Fmodule-options","docs\u002F99.reference\u002F01.module-options","API Reference for DocLayer’s ModuleOptions",{"title":559,"path":560,"stem":561,"description":562},"Content Schema","\u002Fdocs\u002Freference\u002Fcontent-schema","docs\u002F99.reference\u002F02.content-schema","API Reference for DocLayer’s Content Schema",[564,565,566,567],{"title":512,"path":513,"stem":514,"description":515,"children":-1},{"title":517,"path":518,"stem":519,"description":520,"children":-1},{"title":529,"path":530,"stem":531,"description":532,"children":-1},{"title":534,"path":535,"stem":536,"description":537,"children":-1},1795796072921]