[{"data":1,"prerenderedAt":428},["ShallowReactive",2],{"navigation_docs":3,"-docs-guide-debugging":105,"-docs-guide-debugging-surround":423},[4,35,80,90],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[10,15,20,25,30],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fdocs\u002Fgetting-started\u002Fintroduction","docs\u002F1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Nuxt module","\u002Fdocs\u002Fgetting-started\u002Fnuxt","docs\u002F1.getting-started\u002F2.nuxt","i-simple-icons-nuxtdotjs",{"title":21,"path":22,"stem":23,"icon":24},"Vue + Vite","\u002Fdocs\u002Fgetting-started\u002Fvue","docs\u002F1.getting-started\u002F3.vue","i-simple-icons-vuedotjs",{"title":26,"path":27,"stem":28,"icon":29},"Quick Start","\u002Fdocs\u002Fgetting-started\u002Fquick-start","docs\u002F1.getting-started\u002F4.quick-start","i-lucide-rocket",{"title":31,"path":32,"stem":33,"icon":34},"AI agents","\u002Fdocs\u002Fgetting-started\u002Fai-agents","docs\u002F1.getting-started\u002F5.ai-agents","i-lucide-bot",{"title":36,"icon":6,"path":37,"stem":38,"children":39,"page":6},"Guide","\u002Fdocs\u002Fguide","docs\u002F2.guide",[40,45,50,55,60,65,70,75],{"title":41,"path":42,"stem":43,"icon":44},"States","\u002Fdocs\u002Fguide\u002Fstates","docs\u002F2.guide\u002F1.states","i-lucide-toggle-left",{"title":46,"path":47,"stem":48,"icon":49},"Sample and Memory","\u002Fdocs\u002Fguide\u002Fsample-and-memory","docs\u002F2.guide\u002F2.sample-and-memory","i-lucide-history",{"title":51,"path":52,"stem":53,"icon":54},"Markup","\u002Fdocs\u002Fguide\u002Fmarkup","docs\u002F2.guide\u002F3.markup","i-lucide-code-xml",{"title":56,"path":57,"stem":58,"icon":59},"How It Works","\u002Fdocs\u002Fguide\u002Funder-the-hood","docs\u002F2.guide\u002F4.under-the-hood","i-lucide-cog",{"title":61,"path":62,"stem":63,"icon":64},"Real Screens","\u002Fdocs\u002Fguide\u002Freal-screens","docs\u002F2.guide\u002F5.real-screens","i-lucide-layout-dashboard",{"title":66,"path":67,"stem":68,"icon":69},"Debugging","\u002Fdocs\u002Fguide\u002Fdebugging","docs\u002F2.guide\u002F6.debugging","i-lucide-bug",{"title":71,"path":72,"stem":73,"icon":74},"Reveal","\u002Fdocs\u002Fguide\u002Freveal","docs\u002F2.guide\u002F7.reveal","i-lucide-sparkles",{"title":76,"path":77,"stem":78,"icon":79},"Troubleshooting","\u002Fdocs\u002Fguide\u002Ftroubleshooting","docs\u002F2.guide\u002F8.troubleshooting","i-lucide-life-buoy",{"title":81,"icon":6,"path":82,"stem":83,"children":84,"page":6},"Customization","\u002Fdocs\u002Fcustomization","docs\u002F3.customization",[85],{"title":86,"path":87,"stem":88,"icon":89},"Theming","\u002Fdocs\u002Fcustomization\u002Ftheming","docs\u002F3.customization\u002F1.theming","i-lucide-palette",{"title":91,"icon":6,"path":92,"stem":93,"children":94,"page":6},"API","\u002Fdocs\u002Fapi","docs\u002F4.api",[95,100],{"title":96,"path":97,"stem":98,"icon":99},"Skeleton","\u002Fdocs\u002Fapi\u002Fskeleton","docs\u002F4.api\u002F1.skeleton","i-lucide-box",{"title":101,"path":102,"stem":103,"icon":104},"Options","\u002Fdocs\u002Fapi\u002Foptions","docs\u002F4.api\u002F2.options","i-lucide-settings",{"id":106,"title":66,"body":107,"description":416,"extension":417,"links":418,"meta":419,"navigation":420,"path":67,"seo":421,"stem":68,"__hash__":422},"docs\u002Fdocs\u002F2.guide\u002F6.debugging.md",{"type":108,"value":109,"toc":410},"minimark",[110,114,119,124,132,239,246,250,338,342,349,388,392,406],[111,112,113],"p",{},"A skeleton that doesn't match its content makes the page jump when the content arrives. The debug overlay finds those places. It outlines every skeleton in blue while it loads and says where its shape came from. When the content arrives, the outline turns green if nothing moved, or red with how many pixels it moved.",[115,116],"debug-demo",{"className":117},[118],"my-5",[120,121,123],"h2",{"id":122},"turning-it-on","Turning it on",[111,125,126,127,131],{},"Add ",[128,129,130],"code",{},"?skeleton-debug"," to the URL, or turn it on for the whole app:",[133,134,135,203],"code-group",{},[136,137,143],"pre",{"className":138,"code":139,"filename":140,"language":141,"meta":142,"style":142},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  boneprint: { debug: true },\n})\n","nuxt.config.ts","ts","",[128,144,145,169,194],{"__ignoreMap":142},[146,147,150,154,157,161,165],"span",{"class":148,"line":149},"line",1,[146,151,153],{"class":152},"s7zQu","export",[146,155,156],{"class":152}," default",[146,158,160],{"class":159},"s2Zo4"," defineNuxtConfig",[146,162,164],{"class":163},"sTEyZ","(",[146,166,168],{"class":167},"sMK4o","{\n",[146,170,172,176,179,182,185,187,191],{"class":148,"line":171},2,[146,173,175],{"class":174},"swJcz","  boneprint",[146,177,178],{"class":167},":",[146,180,181],{"class":167}," {",[146,183,184],{"class":174}," debug",[146,186,178],{"class":167},[146,188,190],{"class":189},"sfNiH"," true",[146,192,193],{"class":167}," },\n",[146,195,197,200],{"class":148,"line":196},3,[146,198,199],{"class":167},"}",[146,201,202],{"class":163},")\n",[136,204,207],{"className":138,"code":205,"filename":206,"language":141,"meta":142,"style":142},"app.use(boneprint, { debug: true })\n","main.ts (Vue)",[128,208,209],{"__ignoreMap":142},[146,210,211,214,217,220,223,226,228,230,232,234,237],{"class":148,"line":149},[146,212,213],{"class":163},"app",[146,215,216],{"class":167},".",[146,218,219],{"class":159},"use",[146,221,222],{"class":163},"(boneprint",[146,224,225],{"class":167},",",[146,227,181],{"class":167},[146,229,184],{"class":174},[146,231,178],{"class":167},[146,233,190],{"class":189},[146,235,236],{"class":167}," }",[146,238,202],{"class":163},[111,240,241,242,245],{},"To outline one part of the page, put ",[128,243,244],{},"data-skeleton-debug"," on any element around it.",[120,247,249],{"id":248},"where-a-shape-comes-from","Where a shape comes from",[251,252,253,266],"table",{},[254,255,256],"thead",{},[257,258,259,263],"tr",{},[260,261,262],"th",{},"Label",[260,264,265],{},"Source",[267,268,269,280,294,306,322],"tbody",{},[257,270,271,277],{},[272,273,274],"td",{},[128,275,276],{},"memory",[272,278,279],{},"the shape remembered from an earlier load",[257,281,282,287],{},[272,283,284],{},[128,285,286],{},"data",[272,288,289,290,293],{},"the data already on screen, with ",[128,291,292],{},":loading"," over it",[257,295,296,301],{},[272,297,298],{},[128,299,300],{},"sample",[272,302,303,304],{},"your ",[128,305,300],{},[257,307,308,313],{},[272,309,310],{},[128,311,312],{},"slot",[272,314,315,316,318,319],{},"the slot as it is, without ",[128,317,286],{}," or ",[128,320,321],{},"of",[257,323,324,329],{},[272,325,326],{},[128,327,328],{},"generic lines",[272,330,331,332,334,335],{},"nothing to measure: pass a ",[128,333,300],{}," or an ",[128,336,337],{},"id",[120,339,341],{"id":340},"seeing-what-was-measured","Seeing what was measured",[111,343,344,345,348],{},"Put ",[128,346,347],{},"data-skeleton-xray"," on any element around a skeleton. The hidden markup then shows through the bones in red, so you can check that the bars sit on the real lines.",[136,350,354],{"className":351,"code":352,"language":353,"meta":142,"style":142},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cdiv data-skeleton-debug data-skeleton-xray>\n  \u003CSkeleton :of=\"post\" :sample \u002F>\n\u003C\u002Fdiv>\n","vue",[128,355,356,374,379],{"__ignoreMap":142},[146,357,358,361,364,368,371],{"class":148,"line":149},[146,359,360],{"class":167},"\u003C",[146,362,363],{"class":174},"div",[146,365,367],{"class":366},"spNyl"," data-skeleton-debug",[146,369,370],{"class":366}," data-skeleton-xray",[146,372,373],{"class":167},">\n",[146,375,376],{"class":148,"line":171},[146,377,378],{"class":163},"  \u003CSkeleton :of=\"post\" :sample \u002F>\n",[146,380,381,384,386],{"class":148,"line":196},[146,382,383],{"class":167},"\u003C\u002F",[146,385,363],{"class":174},[146,387,373],{"class":167},[120,389,391],{"id":390},"when-the-page-moves","When the page moves",[111,393,394,395,398,399,402,403,216],{},"Most often the sample is shorter or longer than the real data, so give it text of typical length. If an image moves when it loads, it had no size to begin with: give it a ",[128,396,397],{},"width"," and ",[128,400,401],{},"height",", or an ",[128,404,405],{},"aspect-ratio",[407,408,409],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}",{"title":142,"searchDepth":171,"depth":171,"links":411},[412,413,414,415],{"id":122,"depth":171,"text":123},{"id":248,"depth":171,"text":249},{"id":340,"depth":171,"text":341},{"id":390,"depth":171,"text":391},"See where a skeleton came from and whether the page moved.","md",null,{},{"icon":69},{"title":66,"description":416},"S9jlXbpC8N68PNZYVQWVvqjGyQviK0kndsV3nqXS0Nc",[424,426],{"title":61,"path":62,"stem":63,"description":425,"icon":64,"children":-1},"How it looks on the pages you actually build.",{"title":71,"path":72,"stem":73,"description":427,"icon":74,"children":-1},"How content replaces the skeleton.",1794492021339]