[{"data":1,"prerenderedAt":720},["ShallowReactive",2],{"navigation":3,"docs-\u002Fmodule\u002Fmigration-v4":52,"docs-\u002Fmodule\u002Fmigration-v4-surround":715},[4,22,43],{"title":5,"path":6,"stem":7,"children":8,"page":21},"Guide","\u002Fguide","1.guide",[9,13,17],{"title":10,"path":11,"stem":12},"Getting Started","\u002Fguide\u002Fgetting-started","1.guide\u002F0.getting-started",{"title":14,"path":15,"stem":16},"Features","\u002Fguide\u002Ffeatures","1.guide\u002F1.features",{"title":18,"path":19,"stem":20},"Composables","\u002Fguide\u002Fcomposables","1.guide\u002F2.composables",false,{"title":23,"path":24,"stem":25,"children":26,"page":21},"Module","\u002Fmodule","2.module",[27,31,35,39],{"title":28,"path":29,"stem":30},"Module Authors","\u002Fmodule\u002Fguide","2.module\u002F0.guide",{"title":32,"path":33,"stem":34},"Utility Kit","\u002Fmodule\u002Futils-kit","2.module\u002F1.utils-kit",{"title":36,"path":37,"stem":38},"UI Kit","\u002Fmodule\u002Fui-kit","2.module\u002F2.ui-kit",{"title":40,"path":41,"stem":42},"Migration to v4","\u002Fmodule\u002Fmigration-v4","2.module\u002F3.migration-v4",{"title":44,"path":45,"stem":46,"children":47,"page":21},"Development","\u002Fdevelopment","3.development",[48],{"title":49,"path":50,"stem":51},"Contribution Guide","\u002Fdevelopment\u002Fcontributing","3.development\u002F0.contributing",{"id":53,"title":40,"body":54,"description":710,"extension":711,"meta":712,"navigation":361,"path":41,"seo":713,"stem":42,"__hash__":714},"docs\u002F2.module\u002F3.migration-v4.md",{"type":55,"value":56,"toc":688},"minimark",[57,66,78,89,101,218,237,291,298,310,347,383,387,390,422,433,446,503,510,523,538,554,558,572,606,613,625,645,651,657,663,673,684],[58,59,61,65],"h2",{"id":60},"startsubprocess-api-changes",[62,63,64],"code",{},"startSubprocess()"," API Changes",[67,68,69,70,73,74,77],"p",{},"The subprocess system has been migrated from ",[62,71,72],{},"execa"," to ",[62,75,76],{},"tinyexec",".",[79,80,82,85,86],"h3",{"id":81},"subprocessoptions-no-longer-extends-execaoptions",[62,83,84],{},"SubprocessOptions"," no longer extends ",[62,87,88],{},"ExecaOptions",[67,90,91,92,94,95,97,98,100],{},"Previously, ",[62,93,84],{}," extended ",[62,96,88],{}," from ",[62,99,72],{},", allowing you to pass any execa option directly. It now has its own interface:",[102,103,108],"pre",{"className":104,"code":105,"language":106,"meta":107,"style":107},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","interface SubprocessOptions {\n  command: string\n  args?: string[]\n  cwd?: string\n  env?: Record\u003Cstring, string | undefined>\n  nodeOptions?: SpawnOptions \u002F\u002F from 'node:child_process'\n}\n","ts","",[62,109,110,127,140,156,166,197,212],{"__ignoreMap":107},[111,112,115,119,123],"span",{"class":113,"line":114},"line",1,[111,116,118],{"class":117},"spNyl","interface",[111,120,122],{"class":121},"sBMFI"," SubprocessOptions",[111,124,126],{"class":125},"sMK4o"," {\n",[111,128,130,134,137],{"class":113,"line":129},2,[111,131,133],{"class":132},"swJcz","  command",[111,135,136],{"class":125},":",[111,138,139],{"class":121}," string\n",[111,141,143,146,149,152],{"class":113,"line":142},3,[111,144,145],{"class":132},"  args",[111,147,148],{"class":125},"?:",[111,150,151],{"class":121}," string",[111,153,155],{"class":154},"sTEyZ","[]\n",[111,157,159,162,164],{"class":113,"line":158},4,[111,160,161],{"class":132},"  cwd",[111,163,148],{"class":125},[111,165,139],{"class":121},[111,167,169,172,174,177,180,183,186,188,191,194],{"class":113,"line":168},5,[111,170,171],{"class":132},"  env",[111,173,148],{"class":125},[111,175,176],{"class":121}," Record",[111,178,179],{"class":125},"\u003C",[111,181,182],{"class":121},"string",[111,184,185],{"class":125},",",[111,187,151],{"class":121},[111,189,190],{"class":125}," |",[111,192,193],{"class":121}," undefined",[111,195,196],{"class":125},">\n",[111,198,200,203,205,208],{"class":113,"line":199},6,[111,201,202],{"class":132},"  nodeOptions",[111,204,148],{"class":125},[111,206,207],{"class":121}," SpawnOptions",[111,209,211],{"class":210},"sHwdD"," \u002F\u002F from 'node:child_process'\n",[111,213,215],{"class":113,"line":214},7,[111,216,217],{"class":125},"}\n",[67,219,220,221,224,225,228,229,232,233,236],{},"Common fields like ",[62,222,223],{},"cwd"," and ",[62,226,227],{},"env"," are still available as top-level options. Other execa-specific options should be migrated to ",[62,230,231],{},"nodeOptions"," (Node.js ",[62,234,235],{},"SpawnOptions","):",[102,238,242],{"className":239,"code":240,"language":241,"meta":107,"style":107},"language-diff shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","startSubprocess({\n  command: 'my-command',\n  args: ['--flag'],\n  cwd: '\u002Fsome\u002Fpath',\n- stdio: 'pipe',\n+ nodeOptions: {\n+   stdio: 'pipe',\n+ },\n})\n","diff",[62,243,244,249,254,259,264,269,274,279,285],{"__ignoreMap":107},[111,245,246],{"class":113,"line":114},[111,247,248],{},"startSubprocess({\n",[111,250,251],{"class":113,"line":129},[111,252,253],{},"  command: 'my-command',\n",[111,255,256],{"class":113,"line":142},[111,257,258],{},"  args: ['--flag'],\n",[111,260,261],{"class":113,"line":158},[111,262,263],{},"  cwd: '\u002Fsome\u002Fpath',\n",[111,265,266],{"class":113,"line":168},[111,267,268],{},"- stdio: 'pipe',\n",[111,270,271],{"class":113,"line":199},[111,272,273],{},"+ nodeOptions: {\n",[111,275,276],{"class":113,"line":214},[111,277,278],{},"+   stdio: 'pipe',\n",[111,280,282],{"class":113,"line":281},8,[111,283,284],{},"+ },\n",[111,286,288],{"class":113,"line":287},9,[111,289,290],{},"})\n",[79,292,294,297],{"id":293},"getprocess-is-deprecated",[62,295,296],{},"getProcess()"," is deprecated",[67,299,300,301,303,304,307,308,77],{},"The return value of ",[62,302,64],{}," now provides ",[62,305,306],{},"getResult()"," instead of ",[62,309,296],{},[311,312,313,327],"ul",{},[314,315,316,318,319,322,323,326],"li",{},[62,317,296],{}," still works but logs a deprecation warning and returns ",[62,320,321],{},"ChildProcess | undefined"," (was ",[62,324,325],{},"ExecaChildProcess\u003Cstring>",")",[314,328,329,331,332,335,336,339,340,339,343,346],{},[62,330,306],{}," returns a tinyexec ",[62,333,334],{},"Result"," object with ",[62,337,338],{},".kill()",", ",[62,341,342],{},".process",[62,344,345],{},".pipe()",", and more",[102,348,350],{"className":239,"code":349,"language":241,"meta":107,"style":107},"const subprocess = startSubprocess(\u002F* ... *\u002F)\n\n- const proc = subprocess.getProcess()\n- proc.stdout.on('data', handler)\n+ const result = subprocess.getResult()\n+ result.process?.stdout?.on('data', handler)\n",[62,351,352,357,363,368,373,378],{"__ignoreMap":107},[111,353,354],{"class":113,"line":114},[111,355,356],{},"const subprocess = startSubprocess(\u002F* ... *\u002F)\n",[111,358,359],{"class":113,"line":129},[111,360,362],{"emptyLinePlaceholder":361},true,"\n",[111,364,365],{"class":113,"line":142},[111,366,367],{},"- const proc = subprocess.getProcess()\n",[111,369,370],{"class":113,"line":158},[111,371,372],{},"- proc.stdout.on('data', handler)\n",[111,374,375],{"class":113,"line":168},[111,376,377],{},"+ const result = subprocess.getResult()\n",[111,379,380],{"class":113,"line":199},[111,381,382],{},"+ result.process?.stdout?.on('data', handler)\n",[58,384,386],{"id":385},"global-install-support-removed","Global Install Support Removed",[67,388,389],{},"Nuxt DevTools no longer supports being installed globally.",[311,391,392,403,413],{},[314,393,394,395,398,399,402],{},"The ",[62,396,397],{},"devtoolsGlobal"," Nuxt config option (with ",[62,400,401],{},"projects"," whitelist) is no longer supported",[314,404,394,405,408,409,412],{},[62,406,407],{},"-g"," flag is no longer used when installing\u002Funinstalling ",[62,410,411],{},"@nuxt\u002Fdevtools"," via the DevTools UI",[314,414,394,415,418,419],{},[62,416,417],{},"isGlobalInstall"," property has been removed from ",[62,420,421],{},"NuxtDevtoolsInfo",[58,423,425,428,429,432],{"id":424},"nuxtdevtools-wizard-package-and-nuxi-devtools-removed",[62,426,427],{},"@nuxt\u002Fdevtools-wizard"," Package and ",[62,430,431],{},"nuxi devtools"," Removed",[67,434,394,435,437,438,441,442,445],{},[62,436,427],{}," package, its CLI, and the ",[62,439,440],{},"nuxi devtools enable\u002Fdisable"," subcommand have been removed. DevTools is shipped with Nuxt — to enable or disable it, update your ",[62,443,444],{},"nuxt.config.ts"," directly:",[102,447,449],{"className":104,"code":448,"language":106,"meta":107,"style":107},"export default defineNuxtConfig({\n  devtools: { enabled: true }, \u002F\u002F or false\n})\n",[62,450,451,470,495],{"__ignoreMap":107},[111,452,453,457,460,464,467],{"class":113,"line":114},[111,454,456],{"class":455},"s7zQu","export",[111,458,459],{"class":455}," default",[111,461,463],{"class":462},"s2Zo4"," defineNuxtConfig",[111,465,466],{"class":154},"(",[111,468,469],{"class":125},"{\n",[111,471,472,475,477,480,483,485,489,492],{"class":113,"line":129},[111,473,474],{"class":132},"  devtools",[111,476,136],{"class":125},[111,478,479],{"class":125}," {",[111,481,482],{"class":132}," enabled",[111,484,136],{"class":125},[111,486,488],{"class":487},"sfNiH"," true",[111,490,491],{"class":125}," },",[111,493,494],{"class":210}," \u002F\u002F or false\n",[111,496,497,500],{"class":113,"line":142},[111,498,499],{"class":125},"}",[111,501,502],{"class":154},")\n",[58,504,506,509],{"id":505},"runwizard-rpc-removed",[62,507,508],{},"runWizard"," RPC Removed",[67,511,394,512,514,515,518,519,522],{},[62,513,508],{}," server RPC function has been removed from ",[62,516,517],{},"ServerFunctions",". The ",[62,520,521],{},"enablePages"," action is now available as a direct RPC function:",[102,524,526],{"className":239,"code":525,"language":241,"meta":107,"style":107},"- await rpc.runWizard(token, 'enablePages')\n+ await rpc.enablePages(token)\n",[62,527,528,533],{"__ignoreMap":107},[111,529,530],{"class":113,"line":114},[111,531,532],{},"- await rpc.runWizard(token, 'enablePages')\n",[111,534,535],{"class":113,"line":129},[111,536,537],{},"+ await rpc.enablePages(token)\n",[67,539,394,540,339,543,546,547,550,551,77],{},[62,541,542],{},"WizardFunctions",[62,544,545],{},"WizardActions",", and ",[62,548,549],{},"GetWizardArgs"," types have been removed from ",[62,552,553],{},"@nuxt\u002Fdevtools-kit",[58,555,557],{"id":556},"vite-devtools-integration-is-now-always-enabled","Vite DevTools Integration is Now Always Enabled",[67,559,394,560,563,564,571],{},[62,561,562],{},"viteDevTools"," module option has been removed. Nuxt DevTools now always integrates with ",[565,566,570],"a",{"href":567,"rel":568},"https:\u002F\u002Fgithub.com\u002Fvitejs\u002Fdevtools",[569],"nofollow","Vite DevTools"," as a dock entry. The built-in floating panel has been removed — DevTools is accessed through the Vite DevTools panel instead.",[102,573,575],{"className":239,"code":574,"language":241,"meta":107,"style":107},"export default defineNuxtConfig({\n  devtools: {\n    enabled: true,\n-   viteDevTools: true,\n  },\n})\n",[62,576,577,582,587,592,597,602],{"__ignoreMap":107},[111,578,579],{"class":113,"line":114},[111,580,581],{},"export default defineNuxtConfig({\n",[111,583,584],{"class":113,"line":129},[111,585,586],{},"  devtools: {\n",[111,588,589],{"class":113,"line":142},[111,590,591],{},"    enabled: true,\n",[111,593,594],{"class":113,"line":158},[111,595,596],{},"-   viteDevTools: true,\n",[111,598,599],{"class":113,"line":168},[111,600,601],{},"  },\n",[111,603,604],{"class":113,"line":199},[111,605,290],{},[79,607,609,612],{"id":608},"clientdevtools-methods-now-control-vite-devtools",[62,610,611],{},"client.devtools"," Methods Now Control Vite DevTools",[67,614,394,615,339,618,546,621,624],{},[62,616,617],{},"client.devtools.open()",[62,619,620],{},"client.devtools.close()",[62,622,623],{},"client.devtools.toggle()"," methods still work but now control the Vite DevTools panel:",[311,626,627,633,639],{},[314,628,629,632],{},[62,630,631],{},"open()"," opens the Vite DevTools panel and switches to the Nuxt DevTools dock entry",[314,634,635,638],{},[62,636,637],{},"close()"," closes the Vite DevTools panel",[314,640,641,644],{},[62,642,643],{},"toggle()"," toggles the Nuxt DevTools dock entry in the Vite DevTools panel",[67,646,394,647,650],{},[62,648,649],{},"Shift+Alt+D"," keyboard shortcut now toggles the Nuxt DevTools entry in the Vite DevTools panel.",[79,652,654,432],{"id":653},"clientdevtoolspopup-removed",[62,655,656],{},"client.devtools.popup",[67,658,659,660,662],{},"The Picture-in-Picture popup feature (",[62,661,656],{},") has been removed. This was an experimental feature that required Chrome 111+.",[79,664,666,224,669,672],{"id":665},"showpanel-and-minimizepanelinactive-settings-removed",[62,667,668],{},"showPanel",[62,670,671],{},"minimizePanelInactive"," Settings Removed",[67,674,394,675,224,677,679,680,683],{},[62,676,668],{},[62,678,671],{}," UI settings have been removed from ",[62,681,682],{},"NuxtDevToolsOptions"," as the built-in floating panel no longer exists.",[685,686,687],"style",{},"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}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}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 .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}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 .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}",{"title":107,"searchDepth":129,"depth":129,"links":689},[690,697,698,700,702],{"id":60,"depth":129,"text":691,"children":692},"startSubprocess() API Changes",[693,695],{"id":81,"depth":142,"text":694},"SubprocessOptions no longer extends ExecaOptions",{"id":293,"depth":142,"text":696},"getProcess() is deprecated",{"id":385,"depth":129,"text":386},{"id":424,"depth":129,"text":699},"@nuxt\u002Fdevtools-wizard Package and nuxi devtools Removed",{"id":505,"depth":129,"text":701},"runWizard RPC Removed",{"id":556,"depth":129,"text":557,"children":703},[704,706,708],{"id":608,"depth":142,"text":705},"client.devtools Methods Now Control Vite DevTools",{"id":653,"depth":142,"text":707},"client.devtools.popup Removed",{"id":665,"depth":142,"text":709},"showPanel and minimizePanelInactive Settings Removed","Breaking changes and migration guide for Nuxt DevTools v4.","md",{},{"title":40,"description":710},"gzuDuVi9-bSZzLHQNbMGasybVouGrg19kJcnzkh5eTk",[716,718],{"title":36,"path":37,"stem":38,"description":717,"children":-1},"UI Kit is for module authors to build a custom view.",{"title":49,"path":50,"stem":51,"description":719,"children":-1},"Learn how to contribute to the Nuxt DevTools.",1774568848203]