[{"data":1,"prerenderedAt":622},["ShallowReactive",2],{"navigation_docs":3,"template-vite-qwik":145},[4,8,12,16,51,81,103],{"title":5,"path":6,"stem":7},"Introduction","\u002Fdocs\u002Fintroduction","docs\u002F1.introduction",{"title":9,"path":10,"stem":11},"Getting started","\u002Fdocs\u002Fgetting-started","docs\u002F2.getting-started",{"title":13,"path":14,"stem":15},"Environment variables","\u002Fdocs\u002Fenvironment-variables","docs\u002F3.environment-variables",{"title":17,"icon":18,"path":19,"stem":20,"children":21,"page":50},"Guide","i-lucide-book-open","\u002Fdocs\u002Fguide","docs\u002F4.guide",[22,26,30,34,38,42,46],{"title":23,"path":24,"stem":25},"Scaffold a project","\u002Fdocs\u002Fguide\u002Fscaffold","docs\u002F4.guide\u002F1.scaffold",{"title":27,"path":28,"stem":29},"Pin and manage templates","\u002Fdocs\u002Fguide\u002Fpin","docs\u002F4.guide\u002F2.pin",{"title":31,"path":32,"stem":33},"Update pinned templates","\u002Fdocs\u002Fguide\u002Fupdating","docs\u002F4.guide\u002F3.updating",{"title":35,"path":36,"stem":37},"Find templates","\u002Fdocs\u002Fguide\u002Fsearch","docs\u002F4.guide\u002F4.search",{"title":39,"path":40,"stem":41},"Manage registries","\u002Fdocs\u002Fguide\u002Fregistry","docs\u002F4.guide\u002F5.registry",{"title":43,"path":44,"stem":45},"Troubleshooting","\u002Fdocs\u002Fguide\u002Ftroubleshooting","docs\u002F4.guide\u002F6.troubleshooting",{"title":47,"path":48,"stem":49},"Build your first template","\u002Fdocs\u002Fguide\u002Fcreate-template","docs\u002F4.guide\u002F7.create-template",false,{"title":52,"icon":53,"path":54,"stem":55,"children":56,"page":50},"Templates","i-lucide-layout-template","\u002Fdocs\u002Ftemplates","docs\u002F5.templates",[57,61,65,69,73,77],{"title":58,"path":59,"stem":60},"Template anatomy","\u002Fdocs\u002Ftemplates\u002Fanatomy","docs\u002F5.templates\u002F1.anatomy",{"title":62,"path":63,"stem":64},"Template params","\u002Fdocs\u002Ftemplates\u002Fparams","docs\u002F5.templates\u002F2.params",{"title":66,"path":67,"stem":68},"Template rendering","\u002Fdocs\u002Ftemplates\u002Ftemplate-rendering","docs\u002F5.templates\u002F3.template-rendering",{"title":70,"path":71,"stem":72},"Hooks","\u002Fdocs\u002Ftemplates\u002Fhooks","docs\u002F5.templates\u002F4.hooks",{"title":74,"path":75,"stem":76},"Publish a template","\u002Fdocs\u002Ftemplates\u002Fpublish","docs\u002F5.templates\u002F5.publish",{"title":78,"path":79,"stem":80},"spin.toml","\u002Fdocs\u002Ftemplates\u002Fspin-toml","docs\u002F5.templates\u002F6.spin-toml",{"title":82,"icon":83,"path":84,"stem":85,"children":86,"page":50},"Registries","i-lucide-database","\u002Fdocs\u002Fregistries","docs\u002F6.registries",[87,91,95,99],{"title":88,"path":89,"stem":90},"Registry anatomy","\u002Fdocs\u002Fregistries\u002Fanatomy","docs\u002F6.registries\u002F1.anatomy",{"title":92,"path":93,"stem":94},"Template metadata file","\u002Fdocs\u002Fregistries\u002Ftemplate-metadata","docs\u002F6.registries\u002F2.template-metadata",{"title":96,"path":97,"stem":98},"Run a registry","\u002Fdocs\u002Fregistries\u002Frun","docs\u002F6.registries\u002F3.run",{"title":100,"path":101,"stem":102},"registry.toml","\u002Fdocs\u002Fregistries\u002Fregistry-toml","docs\u002F6.registries\u002F4.registry-toml",{"title":104,"icon":105,"path":106,"stem":107,"children":108,"page":50},"Commands","i-lucide-terminal","\u002Fdocs\u002Fcommands","docs\u002F7.commands",[109,113,117,121,125,129,133,137,141],{"title":110,"path":111,"stem":112},"spin new","\u002Fdocs\u002Fcommands\u002Fnew","docs\u002F7.commands\u002F1.new",{"title":114,"path":115,"stem":116},"spin add","\u002Fdocs\u002Fcommands\u002Fadd","docs\u002F7.commands\u002F2.add",{"title":118,"path":119,"stem":120},"spin list","\u002Fdocs\u002Fcommands\u002Flist","docs\u002F7.commands\u002F3.list",{"title":122,"path":123,"stem":124},"spin update","\u002Fdocs\u002Fcommands\u002Fupdate","docs\u002F7.commands\u002F4.update",{"title":126,"path":127,"stem":128},"spin remove","\u002Fdocs\u002Fcommands\u002Fremove","docs\u002F7.commands\u002F5.remove",{"title":130,"path":131,"stem":132},"spin search","\u002Fdocs\u002Fcommands\u002Fsearch","docs\u002F7.commands\u002F6.search",{"title":134,"path":135,"stem":136},"spin registry","\u002Fdocs\u002Fcommands\u002Fregistry","docs\u002F7.commands\u002F7.registry",{"title":138,"path":139,"stem":140},"spin init","\u002Fdocs\u002Fcommands\u002Finit","docs\u002F7.commands\u002F8.init",{"title":142,"path":143,"stem":144},"spin version","\u002Fdocs\u002Fcommands\u002Fversion","docs\u002F7.commands\u002F9.version",{"template":146,"readmeAst":203},{"id":147,"name":148,"description":149,"source":150,"repo":151,"tags":152,"authors":158,"license":161,"type":155,"language":162,"params":163,"hooks":199},"vite-qwik","Vite Qwik","Vite + Qwik starter with CSR mode and TypeScript support","https:\u002F\u002Fgithub.com\u002Fspin-templates\u002Fvite-qwik","spin-templates\u002Fvite-qwik",[153,154,155,156,157],"vite","qwik","web","javascript","typescript",[159,160],"Samouly","Spin Team","MIT","JS\u002FTS",[164,169,177,181,185,190,193,196],{"name":165,"type":166,"prompt":167,"default":157,"options":168},"variant","select","Which language variant?",[156,157],{"name":170,"type":166,"prompt":171,"default":172,"options":173},"package_manager","Which package manager?","npm",[172,174,175,176],"yarn","pnpm","bun",{"name":178,"type":179,"prompt":180,"default":50},"use_docker","bool","Include Docker support?",{"name":182,"type":179,"prompt":183,"default":184},"git_init","Initialize a git repository?",true,{"name":186,"type":187,"prompt":188,"default":189},"description","textarea","What is your project description?","A production-ready Qwik + Vite starter with fast HMR — nothing to clean up.",{"name":191,"type":179,"prompt":192,"default":184},"include_agents_md","Include AGENTS.md with agent instructions?",{"name":194,"type":179,"prompt":195,"default":184},"include_demo","Include the showcase UI?",{"name":197,"type":179,"prompt":198,"default":50},"tailwind","Include Tailwind CSS v4?",{"post":200},[201,202],"{{ if .git_init }}git init && git add -A && git commit -m \"Initial commit - Spin\"{{ end }}","{{ .package_manager }} install",{"data":204,"body":207,"toc":612},{"title":205,"description":206},"Spin Template: Vite + Qwik","A Spin template for scaffolding Vite + Qwik CSR projects with HMR and TypeScript support.",{"type":208,"children":209},"root",[210,218,243,250,264,270,484,490,561,566,573,597,607],{"type":211,"tag":212,"props":213,"children":215},"element","h1",{"id":214},"spin-template-vite-qwik",[216],{"type":217,"value":205},"text",{"type":211,"tag":219,"props":220,"children":221},"p",{},[222,224,233,235,241],{"type":217,"value":223},"A ",{"type":211,"tag":225,"props":226,"children":230},"a",{"href":227,"rel":228},"https:\u002F\u002Fspincli.pages.dev",[229],"nofollow",[231],{"type":217,"value":232},"Spin",{"type":217,"value":234}," template for scaffolding ",{"type":211,"tag":236,"props":237,"children":238},"strong",{},[239],{"type":217,"value":240},"Vite + Qwik CSR",{"type":217,"value":242}," projects with HMR and TypeScript support.",{"type":211,"tag":244,"props":245,"children":247},"h2",{"id":246},"usage",[248],{"type":217,"value":249},"Usage",{"type":211,"tag":251,"props":252,"children":258},"pre",{"className":253,"code":254,"language":255,"meta":256,"style":257},"language-bash","# From the official Spin registry\nspin new myapp official\u002Fvite-qwik\n\n# Directly from the template repository\nspin new myapp https:\u002F\u002Fgithub.com\u002Fspin-templates\u002Fvite-qwik\n","bash","","undefined",[259],{"type":211,"tag":260,"props":261,"children":262},"code",{"__ignoreMap":256},[263],{"type":217,"value":254},{"type":211,"tag":244,"props":265,"children":267},{"id":266},"parameters",[268],{"type":217,"value":269},"Parameters",{"type":211,"tag":271,"props":272,"children":273},"table",{},[274,303],{"type":211,"tag":275,"props":276,"children":277},"thead",{},[278],{"type":211,"tag":279,"props":280,"children":281},"tr",{},[282,288,293,298],{"type":211,"tag":283,"props":284,"children":285},"th",{},[286],{"type":217,"value":287},"Parameter",{"type":211,"tag":283,"props":289,"children":290},{},[291],{"type":217,"value":292},"Type",{"type":211,"tag":283,"props":294,"children":295},{},[296],{"type":217,"value":297},"Description",{"type":211,"tag":283,"props":299,"children":300},{},[301],{"type":217,"value":302},"Default",{"type":211,"tag":304,"props":305,"children":306},"tbody",{},[307,330,349,368,388,408,427,446,465],{"type":211,"tag":279,"props":308,"children":309},{},[310,316,320,325],{"type":211,"tag":311,"props":312,"children":313},"td",{},[314],{"type":217,"value":315},"project_name",{"type":211,"tag":311,"props":317,"children":318},{},[319],{"type":217,"value":217},{"type":211,"tag":311,"props":321,"children":322},{},[323],{"type":217,"value":324},"Project name (auto-injected by Spin)",{"type":211,"tag":311,"props":326,"children":327},{},[328],{"type":217,"value":329},"—",{"type":211,"tag":279,"props":331,"children":332},{},[333,337,341,345],{"type":211,"tag":311,"props":334,"children":335},{},[336],{"type":217,"value":165},{"type":211,"tag":311,"props":338,"children":339},{},[340],{"type":217,"value":166},{"type":211,"tag":311,"props":342,"children":343},{},[344],{"type":217,"value":167},{"type":211,"tag":311,"props":346,"children":347},{},[348],{"type":217,"value":157},{"type":211,"tag":279,"props":350,"children":351},{},[352,356,360,364],{"type":211,"tag":311,"props":353,"children":354},{},[355],{"type":217,"value":170},{"type":211,"tag":311,"props":357,"children":358},{},[359],{"type":217,"value":166},{"type":211,"tag":311,"props":361,"children":362},{},[363],{"type":217,"value":171},{"type":211,"tag":311,"props":365,"children":366},{},[367],{"type":217,"value":172},{"type":211,"tag":279,"props":369,"children":370},{},[371,375,379,383],{"type":211,"tag":311,"props":372,"children":373},{},[374],{"type":217,"value":178},{"type":211,"tag":311,"props":376,"children":377},{},[378],{"type":217,"value":179},{"type":211,"tag":311,"props":380,"children":381},{},[382],{"type":217,"value":180},{"type":211,"tag":311,"props":384,"children":385},{},[386],{"type":217,"value":387},"false",{"type":211,"tag":279,"props":389,"children":390},{},[391,395,399,403],{"type":211,"tag":311,"props":392,"children":393},{},[394],{"type":217,"value":182},{"type":211,"tag":311,"props":396,"children":397},{},[398],{"type":217,"value":179},{"type":211,"tag":311,"props":400,"children":401},{},[402],{"type":217,"value":183},{"type":211,"tag":311,"props":404,"children":405},{},[406],{"type":217,"value":407},"true",{"type":211,"tag":279,"props":409,"children":410},{},[411,415,419,423],{"type":211,"tag":311,"props":412,"children":413},{},[414],{"type":217,"value":186},{"type":211,"tag":311,"props":416,"children":417},{},[418],{"type":217,"value":187},{"type":211,"tag":311,"props":420,"children":421},{},[422],{"type":217,"value":188},{"type":211,"tag":311,"props":424,"children":425},{},[426],{"type":217,"value":329},{"type":211,"tag":279,"props":428,"children":429},{},[430,434,438,442],{"type":211,"tag":311,"props":431,"children":432},{},[433],{"type":217,"value":191},{"type":211,"tag":311,"props":435,"children":436},{},[437],{"type":217,"value":179},{"type":211,"tag":311,"props":439,"children":440},{},[441],{"type":217,"value":192},{"type":211,"tag":311,"props":443,"children":444},{},[445],{"type":217,"value":407},{"type":211,"tag":279,"props":447,"children":448},{},[449,453,457,461],{"type":211,"tag":311,"props":450,"children":451},{},[452],{"type":217,"value":194},{"type":211,"tag":311,"props":454,"children":455},{},[456],{"type":217,"value":179},{"type":211,"tag":311,"props":458,"children":459},{},[460],{"type":217,"value":195},{"type":211,"tag":311,"props":462,"children":463},{},[464],{"type":217,"value":407},{"type":211,"tag":279,"props":466,"children":467},{},[468,472,476,480],{"type":211,"tag":311,"props":469,"children":470},{},[471],{"type":217,"value":197},{"type":211,"tag":311,"props":473,"children":474},{},[475],{"type":217,"value":179},{"type":211,"tag":311,"props":477,"children":478},{},[479],{"type":217,"value":198},{"type":211,"tag":311,"props":481,"children":482},{},[483],{"type":217,"value":387},{"type":211,"tag":244,"props":485,"children":487},{"id":486},"variants",[488],{"type":217,"value":489},"Variants",{"type":211,"tag":491,"props":492,"children":493},"ul",{},[494,525],{"type":211,"tag":495,"props":496,"children":497},"li",{},[498,502,504,510,512,518,519],{"type":211,"tag":236,"props":499,"children":500},{},[501],{"type":217,"value":156},{"type":217,"value":503},": Qwik CSR with ",{"type":211,"tag":260,"props":505,"children":507},{"className":506},[],[508],{"type":217,"value":509},"vite.config.js",{"type":217,"value":511},", ",{"type":211,"tag":260,"props":513,"children":515},{"className":514},[],[516],{"type":217,"value":517},"src\u002Fapp.jsx",{"type":217,"value":511},{"type":211,"tag":260,"props":520,"children":522},{"className":521},[],[523],{"type":217,"value":524},"src\u002Fmain.jsx",{"type":211,"tag":495,"props":526,"children":527},{},[528,532,534,540,541,547,548,554,555],{"type":211,"tag":236,"props":529,"children":530},{},[531],{"type":217,"value":157},{"type":217,"value":533},": Qwik CSR + TypeScript with ",{"type":211,"tag":260,"props":535,"children":537},{"className":536},[],[538],{"type":217,"value":539},"vite.config.ts",{"type":217,"value":511},{"type":211,"tag":260,"props":542,"children":544},{"className":543},[],[545],{"type":217,"value":546},"tsconfig*.json",{"type":217,"value":511},{"type":211,"tag":260,"props":549,"children":551},{"className":550},[],[552],{"type":217,"value":553},"src\u002Fapp.tsx",{"type":217,"value":511},{"type":211,"tag":260,"props":556,"children":558},{"className":557},[],[559],{"type":217,"value":560},"src\u002Fmain.tsx",{"type":211,"tag":244,"props":562,"children":564},{"id":563},"hooks",[565],{"type":217,"value":70},{"type":211,"tag":567,"props":568,"children":570},"h3",{"id":569},"post-hooks",[571],{"type":217,"value":572},"Post-hooks",{"type":211,"tag":491,"props":574,"children":575},{},[576,587],{"type":211,"tag":495,"props":577,"children":578},{},[579,585],{"type":211,"tag":260,"props":580,"children":582},{"className":581},[],[583],{"type":217,"value":584},"git init && git add -A && git commit -m \"Initial commit - Spin\"",{"type":217,"value":586}," — initializes git repo (when git_init is true)",{"type":211,"tag":495,"props":588,"children":589},{},[590,595],{"type":211,"tag":260,"props":591,"children":593},{"className":592},[],[594],{"type":217,"value":202},{"type":217,"value":596}," — installs project dependencies",{"type":211,"tag":219,"props":598,"children":599},{},[600,602],{"type":217,"value":601},"License ",{"type":211,"tag":225,"props":603,"children":605},{"href":604},".\u002FLICENSE",[606],{"type":217,"value":161},{"type":211,"tag":608,"props":609,"children":610},"style",{},[611],{"type":217,"value":256},{"title":256,"searchDepth":613,"depth":613,"links":614},2,[615,616,617,618],{"id":246,"depth":613,"text":249},{"id":266,"depth":613,"text":269},{"id":486,"depth":613,"text":489},{"id":563,"depth":613,"text":70,"children":619},[620],{"id":569,"depth":621,"text":572},3,1787755188595]