[{"data":1,"prerenderedAt":223},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":50,"navigation":69,"mobile-docs-page-meta":85,"docs-pages-category":98,"\u002Fdocs\u002Fgetting-started\u002Finstallation":108,"surround-\u002Fdocs\u002Fgetting-started\u002Finstallation":220},[4],{"title":5,"path":6,"stem":7,"children":8,"page":49},"Docs","\u002Fdocs","docs",[9,19],{"title":10,"path":11,"stem":12,"children":13},"Introduction","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[14,15],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation",{"title":20,"path":21,"stem":22,"children":23},"Components","\u002Fdocs\u002Fcomponents","docs\u002F2.components\u002F0.index",[24,25,29,33,37,41,45],{"title":20,"path":21,"stem":22},{"title":26,"path":27,"stem":28},"Chat","\u002Fdocs\u002Fcomponents\u002Fchat","docs\u002F2.components\u002F1.chat",{"title":30,"path":31,"stem":32},"ChatMessage","\u002Fdocs\u002Fcomponents\u002Fchat-message","docs\u002F2.components\u002F2.chat-message",{"title":34,"path":35,"stem":36},"ChatMessages","\u002Fdocs\u002Fcomponents\u002Fchat-messages","docs\u002F2.components\u002F3.chat-messages",{"title":38,"path":39,"stem":40},"ChatPrompt","\u002Fdocs\u002Fcomponents\u002Fchat-prompt","docs\u002F2.components\u002F4.chat-prompt",{"title":42,"path":43,"stem":44},"ChatPromptSubmit","\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit","docs\u002F2.components\u002F5.chat-prompt-submit",{"title":46,"path":47,"stem":48},"DocsSearchModal","\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal","docs\u002F2.components\u002F6.docs-search-modal",false,[51,53,55,57,59,61,63,65,67],{"path":27,"title":26,"description":52},"Build Nuxt chat interfaces with installable shadcn-vue components you own and compose.",{"path":31,"title":30,"description":54},"Render an individual chat message bubble with AI SDK parts, actions, and layout control.",{"path":35,"title":34,"description":56},"Compose chat message lists with scrolling behavior, loading states, and action-ready assistant output.",{"path":39,"title":38,"description":58},"Build chat input flows with an auto-resizing prompt, keyboard shortcuts, and flexible slot composition.",{"path":43,"title":42,"description":60},"Handle chat submit, stop, and retry actions with a status-aware control for prompt workflows.",{"path":21,"title":20,"description":62},"Explore reusable components that complement Nuxt templates and real app workflows.",{"path":47,"title":46,"description":64},"Add a lightweight local search modal to Nuxt documentation interfaces.",{"path":17,"title":16,"description":66},"Start from templates or install individual components in your Nuxt project.",{"path":11,"title":10,"description":68},"Stackhacker UI is an open-source collection of Nuxt templates and components for the shadcn-vue community.",[70],{"title":5,"path":6,"stem":7,"children":71,"page":49},[72,76],{"title":10,"path":11,"stem":12,"children":73},[74,75],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},{"title":20,"path":21,"stem":22,"children":77},[78,79,80,81,82,83,84],{"title":20,"path":21,"stem":22},{"title":26,"path":27,"stem":28},{"title":30,"path":31,"stem":32},{"title":34,"path":35,"stem":36},{"title":38,"path":39,"stem":40},{"title":42,"path":43,"stem":44},{"title":46,"path":47,"stem":48},[86,88,89,90,92,93,94,95,96],{"path":11,"category":87},"overview",{"path":17,"category":87},{"path":21,"category":87},{"path":27,"category":91},"chat",{"path":31,"category":91},{"path":35,"category":91},{"path":39,"category":91},{"path":43,"category":91},{"path":47,"category":97},"content",[99,100,101,102,103,104,105,106,107],{"path":11,"category":87},{"path":17,"category":87},{"path":21,"category":87},{"path":27,"category":91},{"path":31,"category":91},{"path":35,"category":91},{"path":39,"category":91},{"path":43,"category":91},{"path":47,"category":97},{"id":109,"title":16,"body":110,"category":87,"description":66,"extension":215,"meta":216,"navigation":217,"path":17,"seo":218,"stem":18,"__hash__":219},"docs\u002Fdocs\u002F1.getting-started\u002F2.installation.md",{"type":111,"value":112,"toc":207},"minimark",[113,118,123,127,139,143,146,151,161,165,168,179,182,186,189,197,201],[114,115,117],"h2",{"id":116},"choose-your-path","Choose your path",[119,120,122],"h3",{"id":121},"_1-start-from-a-template-recommended","1. Start from a template (recommended)",[124,125,126],"p",{},"If you want the fastest path to a working app, start with a template.\nSome templates include full-stack foundations so you can move from setup to customization quickly.",[128,129,130],"ul",{},[131,132,133,134],"li",{},"Browse templates: ",[135,136,138],"a",{"href":137},"\u002Ftemplates","Templates",[119,140,142],{"id":141},"_2-install-individual-components","2. Install individual components",[124,144,145],{},"If you already have a project and only need specific blocks, install components directly from this registry.",[147,148,150],"h4",{"id":149},"prerequisites","Prerequisites",[124,152,153,154,160],{},"A Nuxt project with shadcn-vue already configured. If you haven't set up shadcn-vue yet, follow the ",[135,155,159],{"href":156,"rel":157},"https:\u002F\u002Fwww.shadcn-vue.com\u002Fdocs\u002Finstallation\u002Fnuxt.html",[158],"nofollow","official guide",".",[147,162,164],{"id":163},"install-a-component","Install a component",[124,166,167],{},"Use the shadcn-vue CLI to add components from this registry:",[169,170,176],"pre",{"className":171,"code":173,"language":174,"meta":175},[172],"language-bash","npx shadcn-vue@latest add \"https:\u002F\u002Fui.stackhacker.io\u002Fr\u002Fchat-messages.json\"\n","bash","",[177,178,173],"code",{"__ignoreMap":175},[124,180,181],{},"This installs the message list component and its registry dependencies into your project.",[147,183,185],{"id":184},"usage","Usage",[124,187,188],{},"Import and use the component in your app:",[169,190,195],{"className":191,"code":193,"language":194,"meta":175},[192],"language-vue","\u003Cscript setup lang=\"ts\">\nimport { ChatMessages } from '@\u002Fcomponents\u002Fchat-messages'\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CChatMessages :messages=\"messages\" :status=\"status\" should-auto-scroll \u002F>\n\u003C\u002Ftemplate>\n","vue",[177,196,193],{"__ignoreMap":175},[147,198,200],{"id":199},"available-components","Available components",[124,202,203,204,206],{},"Browse ",[135,205,20],{"href":21}," to find all available blocks with demos and API references.",{"title":175,"searchDepth":208,"depth":208,"links":209},2,[210],{"id":116,"depth":208,"text":117,"children":211},[212,214],{"id":121,"depth":213,"text":122},3,{"id":141,"depth":213,"text":142},"md",{},true,{"title":16,"description":66},"OTfAfEXNyuc6nRMth6kCdLSNqHH1mLTxx9zUmKkL3-M",[221,222],{"title":10,"path":11,"stem":12,"children":-1},{"title":20,"path":21,"stem":22,"children":-1},1782356297149]