[{"data":1,"prerenderedAt":1237},["Reactive",2],{"navigation":3,"docs-/guide/composables":37,"docs-/guide/composables-surround":440},[4,17,30],{"title":5,"_path":6,"children":7},"Guide","/guide",[8,11,14],{"title":9,"_path":10},"Getting Started","/guide/getting-started",{"title":12,"_path":13},"Features","/guide/features",{"title":15,"_path":16},"Composables","/guide/composables",{"title":18,"_path":19,"children":20},"Module","/module",[21,24,27],{"title":22,"_path":23},"Module Authors","/module/guide",{"title":25,"_path":26},"Utility Kit","/module/utils-kit",{"title":28,"_path":29},"UI Kit","/module/ui-kit",{"title":31,"_path":32,"children":33},"Development","/development",[34],{"title":35,"_path":36},"Contribution Guide","/development/contributing",{"_path":16,"_dir":38,"_draft":39,"_partial":39,"_locale":40,"title":15,"description":41,"body":42,"_type":435,"_id":436,"_source":437,"_file":438,"_extension":439},"guide",false,"","Open or control Nuxt DevTools with the useNuxtDevtools composable.",{"type":43,"children":44,"toc":433},"root",[45,61,346,351,422,427],{"type":46,"tag":47,"props":48,"children":49},"element","p",{},[50,53,59],{"type":51,"value":52},"text","In case you might want to open or control the Nuxt DevTools in your application on development, a composable ",{"type":46,"tag":54,"props":55,"children":56},"code",{},[57],{"type":51,"value":58},"useNuxtDevtools",{"type":51,"value":60}," is registered with auto-import.",{"type":46,"tag":62,"props":63,"children":67},"pre",{"className":64,"code":65,"language":66,"meta":40},"language-vue material-theme_material-theme-palenight_material-theme-lighter","\u003Cscript setup>\n// Returns undefined in production mode or when the DevTools are not enabled\nconst devtoolsClient = useNuxtDevtools() // NuxtDevToolsHostClient | undefined\n\u003C/script>\n\n\u003Ctemplate>\n  \u003Cbutton\n    v-if=\"devtoolsClient\"\n    @click=\"devtoolsClient.devtools.navigate('/modules/components')\"\n  >\n    \u003C!-- Open the DevTools and navigate to the components tab -->\n    Open DevTools\n  \u003C/button>\n\u003C/template>\n","vue",[68],{"type":46,"tag":54,"props":69,"children":70},{"__ignoreMap":40},[71,106,116,154,171,178,195,213,247,277,286,299,308,329],{"type":46,"tag":72,"props":73,"children":76},"span",{"class":74,"line":75},"line",1,[77,83,89,95,101],{"type":46,"tag":72,"props":78,"children":80},{"class":79},"ct-542793",[81],{"type":51,"value":82},"\u003C",{"type":46,"tag":72,"props":84,"children":86},{"class":85},"ct-821147",[87],{"type":51,"value":88},"script",{"type":46,"tag":72,"props":90,"children":92},{"class":91},"ct-521921",[93],{"type":51,"value":94}," ",{"type":46,"tag":72,"props":96,"children":98},{"class":97},"ct-366012",[99],{"type":51,"value":100},"setup",{"type":46,"tag":72,"props":102,"children":103},{"class":79},[104],{"type":51,"value":105},">\n",{"type":46,"tag":72,"props":107,"children":109},{"class":74,"line":108},2,[110],{"type":46,"tag":72,"props":111,"children":113},{"class":112},"ct-767688",[114],{"type":51,"value":115},"// Returns undefined in production mode or when the DevTools are not enabled\n",{"type":46,"tag":72,"props":117,"children":119},{"class":74,"line":118},3,[120,125,130,135,139,144,149],{"type":46,"tag":72,"props":121,"children":122},{"class":97},[123],{"type":51,"value":124},"const",{"type":46,"tag":72,"props":126,"children":127},{"class":91},[128],{"type":51,"value":129}," devtoolsClient ",{"type":46,"tag":72,"props":131,"children":132},{"class":79},[133],{"type":51,"value":134},"=",{"type":46,"tag":72,"props":136,"children":137},{"class":91},[138],{"type":51,"value":94},{"type":46,"tag":72,"props":140,"children":142},{"class":141},"ct-021512",[143],{"type":51,"value":58},{"type":46,"tag":72,"props":145,"children":146},{"class":91},[147],{"type":51,"value":148},"() ",{"type":46,"tag":72,"props":150,"children":151},{"class":112},[152],{"type":51,"value":153},"// NuxtDevToolsHostClient | undefined\n",{"type":46,"tag":72,"props":155,"children":157},{"class":74,"line":156},4,[158,163,167],{"type":46,"tag":72,"props":159,"children":160},{"class":79},[161],{"type":51,"value":162},"\u003C/",{"type":46,"tag":72,"props":164,"children":165},{"class":85},[166],{"type":51,"value":88},{"type":46,"tag":72,"props":168,"children":169},{"class":79},[170],{"type":51,"value":105},{"type":46,"tag":72,"props":172,"children":174},{"class":74,"line":173},5,[175],{"type":46,"tag":72,"props":176,"children":177},{},[],{"type":46,"tag":72,"props":179,"children":181},{"class":74,"line":180},6,[182,186,191],{"type":46,"tag":72,"props":183,"children":184},{"class":79},[185],{"type":51,"value":82},{"type":46,"tag":72,"props":187,"children":188},{"class":85},[189],{"type":51,"value":190},"template",{"type":46,"tag":72,"props":192,"children":193},{"class":79},[194],{"type":51,"value":105},{"type":46,"tag":72,"props":196,"children":198},{"class":74,"line":197},7,[199,204,208],{"type":46,"tag":72,"props":200,"children":201},{"class":91},[202],{"type":51,"value":203},"  ",{"type":46,"tag":72,"props":205,"children":206},{"class":79},[207],{"type":51,"value":82},{"type":46,"tag":72,"props":209,"children":210},{"class":85},[211],{"type":51,"value":212},"button\n",{"type":46,"tag":72,"props":214,"children":216},{"class":74,"line":215},8,[217,222,227,231,236,242],{"type":46,"tag":72,"props":218,"children":219},{"class":79},[220],{"type":51,"value":221},"    ",{"type":46,"tag":72,"props":223,"children":224},{"class":97},[225],{"type":51,"value":226},"v-if",{"type":46,"tag":72,"props":228,"children":229},{"class":79},[230],{"type":51,"value":134},{"type":46,"tag":72,"props":232,"children":233},{"class":79},[234],{"type":51,"value":235},"\"",{"type":46,"tag":72,"props":237,"children":239},{"class":238},"ct-083593",[240],{"type":51,"value":241},"devtoolsClient",{"type":46,"tag":72,"props":243,"children":244},{"class":79},[245],{"type":51,"value":246},"\"\n",{"type":46,"tag":72,"props":248,"children":250},{"class":74,"line":249},9,[251,255,260,264,268,273],{"type":46,"tag":72,"props":252,"children":253},{"class":79},[254],{"type":51,"value":221},{"type":46,"tag":72,"props":256,"children":257},{"class":97},[258],{"type":51,"value":259},"@click",{"type":46,"tag":72,"props":261,"children":262},{"class":79},[263],{"type":51,"value":134},{"type":46,"tag":72,"props":265,"children":266},{"class":79},[267],{"type":51,"value":235},{"type":46,"tag":72,"props":269,"children":270},{"class":238},[271],{"type":51,"value":272},"devtoolsClient.devtools.navigate('/modules/components')",{"type":46,"tag":72,"props":274,"children":275},{"class":79},[276],{"type":51,"value":246},{"type":46,"tag":72,"props":278,"children":280},{"class":74,"line":279},10,[281],{"type":46,"tag":72,"props":282,"children":283},{"class":79},[284],{"type":51,"value":285},"  >\n",{"type":46,"tag":72,"props":287,"children":289},{"class":74,"line":288},11,[290,294],{"type":46,"tag":72,"props":291,"children":292},{"class":91},[293],{"type":51,"value":221},{"type":46,"tag":72,"props":295,"children":296},{"class":112},[297],{"type":51,"value":298},"\u003C!-- Open the DevTools and navigate to the components tab -->\n",{"type":46,"tag":72,"props":300,"children":302},{"class":74,"line":301},12,[303],{"type":46,"tag":72,"props":304,"children":305},{"class":91},[306],{"type":51,"value":307},"    Open DevTools\n",{"type":46,"tag":72,"props":309,"children":311},{"class":74,"line":310},13,[312,316,320,325],{"type":46,"tag":72,"props":313,"children":314},{"class":91},[315],{"type":51,"value":203},{"type":46,"tag":72,"props":317,"children":318},{"class":79},[319],{"type":51,"value":162},{"type":46,"tag":72,"props":321,"children":322},{"class":85},[323],{"type":51,"value":324},"button",{"type":46,"tag":72,"props":326,"children":327},{"class":79},[328],{"type":51,"value":105},{"type":46,"tag":72,"props":330,"children":332},{"class":74,"line":331},14,[333,337,341],{"type":46,"tag":72,"props":334,"children":335},{"class":79},[336],{"type":51,"value":162},{"type":46,"tag":72,"props":338,"children":339},{"class":85},[340],{"type":51,"value":190},{"type":46,"tag":72,"props":342,"children":343},{"class":79},[344],{"type":51,"value":345},">",{"type":46,"tag":47,"props":347,"children":348},{},[349],{"type":51,"value":350},"When you have auto-import disabled, you can also import it explicitly:",{"type":46,"tag":62,"props":352,"children":356},{"className":353,"code":354,"language":355,"meta":40},"language-ts material-theme_material-theme-palenight_material-theme-lighter","import { useNuxtDevtools } from '#imports'\n","ts",[357],{"type":46,"tag":54,"props":358,"children":359},{"__ignoreMap":40},[360],{"type":46,"tag":72,"props":361,"children":362},{"class":74,"line":75},[363,369,373,378,382,386,390,395,399,404,408,413,418],{"type":46,"tag":72,"props":364,"children":366},{"class":365},"ct-398028",[367],{"type":51,"value":368},"import",{"type":46,"tag":72,"props":370,"children":371},{"class":91},[372],{"type":51,"value":94},{"type":46,"tag":72,"props":374,"children":375},{"class":79},[376],{"type":51,"value":377},"{",{"type":46,"tag":72,"props":379,"children":380},{"class":85},[381],{"type":51,"value":94},{"type":46,"tag":72,"props":383,"children":384},{"class":91},[385],{"type":51,"value":58},{"type":46,"tag":72,"props":387,"children":388},{"class":85},[389],{"type":51,"value":94},{"type":46,"tag":72,"props":391,"children":392},{"class":79},[393],{"type":51,"value":394},"}",{"type":46,"tag":72,"props":396,"children":397},{"class":91},[398],{"type":51,"value":94},{"type":46,"tag":72,"props":400,"children":401},{"class":365},[402],{"type":51,"value":403},"from",{"type":46,"tag":72,"props":405,"children":406},{"class":91},[407],{"type":51,"value":94},{"type":46,"tag":72,"props":409,"children":410},{"class":79},[411],{"type":51,"value":412},"'",{"type":46,"tag":72,"props":414,"children":415},{"class":238},[416],{"type":51,"value":417},"#imports",{"type":46,"tag":72,"props":419,"children":420},{"class":79},[421],{"type":51,"value":412},{"type":46,"tag":47,"props":423,"children":424},{},[425],{"type":51,"value":426},"Checkout it's type definition for more available methods.",{"type":46,"tag":428,"props":429,"children":430},"style",{},[431],{"type":51,"value":432},".material-theme_material-theme-palenight_material-theme-lighter{color:#EEFFFF;background:#263238;}.dark .material-theme_material-theme-palenight_material-theme-lighter{color:#A6ACCD;background:#292D3E;}.light .material-theme_material-theme-palenight_material-theme-lighter{color:#90A4AE;background:#FAFAFA;}.ct-542793{color:#89DDFF;}.light .ct-542793{color:#39ADB5;}.ct-821147{color:#F07178;}.light .ct-821147{color:#E53935;}.ct-521921{color:#EEFFFF;}.dark .ct-521921{color:#A6ACCD;}.light .ct-521921{color:#90A4AE;}.ct-366012{color:#C792EA;}.light .ct-366012{color:#9C3EDA;}.ct-767688{color:#546E7A;font-style:italic;}.dark .ct-767688{color:#676E95;font-style:italic;}.light .ct-767688{color:#90A4AE;font-style:italic;}.ct-021512{color:#82AAFF;}.light .ct-021512{color:#6182B8;}.ct-083593{color:#C3E88D;}.light .ct-083593{color:#91B859;}.ct-398028{color:#89DDFF;font-style:italic;}.light .ct-398028{color:#39ADB5;font-style:italic;}",{"title":40,"searchDepth":108,"depth":108,"links":434},[],"markdown","content:1.guide:2.composables.md","content","1.guide/2.composables.md","md",[441,884],{"_path":13,"_dir":38,"_draft":39,"_partial":39,"_locale":40,"title":12,"description":442,"body":443,"_type":435,"_id":882,"_source":437,"_file":883,"_extension":439},"Discover all the features the Nuxt Devtools can offer.",{"type":43,"children":444,"toc":857},[445,461,468,473,479,485,490,494,500,505,509,514,518,523,527,533,538,542,548,553,557,562,568,573,578,584,589,595,600,606,611,617,622,628,633,639,644,650,655,661,666,678,684,689,693,699,704,708,714,731,735,741,746,752,794,801,820,825,842,847],{"type":46,"tag":47,"props":446,"children":447},{},[448,450,459],{"type":51,"value":449},"You can learn more in our ",{"type":46,"tag":451,"props":452,"children":456},"a",{"href":453,"rel":454},"https://github.com/nuxt/devtools/discussions/31",[455],"nofollow",[457],{"type":51,"value":458},"roadmap",{"type":51,"value":460},".",{"type":46,"tag":462,"props":463,"children":465},"h2",{"id":464},"overview",[466],{"type":51,"value":467},"Overview",{"type":46,"tag":47,"props":469,"children":470},{},[471],{"type":51,"value":472},"Shows a quick overview of your app, including the Nuxt version (which if it’s not up to date you can easily update it), Vue version, pages, components, imports, modules and plugins that you are using, and your app’s loading time and more!",{"type":46,"tag":474,"props":475,"children":478},"img",{"width":476,"src":477},1284,"https://user-images.githubusercontent.com/11247099/217670797-12c33a03-ca4f-490d-a18a-ab9008b89c15.png",[],{"type":46,"tag":462,"props":480,"children":482},{"id":481},"pages",[483],{"type":51,"value":484},"Pages",{"type":46,"tag":47,"props":486,"children":487},{},[488],{"type":51,"value":489},"Pages tab shows your current routes with some useful information such as what layout or middleware it has, and provides a quick way to navigate between pages. You can also use the textbox to see how each route is matched.",{"type":46,"tag":474,"props":491,"children":493},{"width":476,"src":492},"https://user-images.githubusercontent.com/11247099/217670804-e48482af-de37-47be-88d8-d9515e796d5f.png",[],{"type":46,"tag":462,"props":495,"children":497},{"id":496},"components",[498],{"type":51,"value":499},"Components",{"type":46,"tag":47,"props":501,"children":502},{},[503],{"type":51,"value":504},"Components tab shows all the components you are using in your app and where they are from. You can also search for them and go to the source code.",{"type":46,"tag":474,"props":506,"children":508},{"width":476,"src":507},"https://user-images.githubusercontent.com/11247099/217670805-726eafd1-5364-4b11-9c2b-9253d068e7e3.png",[],{"type":46,"tag":47,"props":510,"children":511},{},[512],{"type":51,"value":513},"Components tab also has a Graph view which you can toggle.\nGraph view also shows the relationship between components, and knows the dependencies of each component.",{"type":46,"tag":474,"props":515,"children":517},{"width":476,"src":516},"https://user-images.githubusercontent.com/11247099/217670806-fb39aeff-3881-44e5-b9c8-6c757f5925fc.png",[],{"type":46,"tag":47,"props":519,"children":520},{},[521],{"type":51,"value":522},"You can also inspect your app's DOM tree and see which component is rendering it. Finding the place to make changes are much easier.",{"type":46,"tag":474,"props":524,"children":526},{"width":476,"src":525},"https://user-images.githubusercontent.com/11247099/217670809-7dcb4198-5a74-4818-95b1-b62ea6c04a6c.png",[],{"type":46,"tag":462,"props":528,"children":530},{"id":529},"imports",[531],{"type":51,"value":532},"Imports",{"type":46,"tag":47,"props":534,"children":535},{},[536],{"type":51,"value":537},"Imports tab shows all the auto-imports registered to Nuxt. You can see which files are importing them, and where they are from. Some entries can also provide short descriptions and documentation links.",{"type":46,"tag":474,"props":539,"children":541},{"width":476,"src":540},"https://user-images.githubusercontent.com/11247099/217670811-fa7c7249-5a21-48c9-abe8-ca02b2518a3a.png",[],{"type":46,"tag":462,"props":543,"children":545},{"id":544},"modules",[546],{"type":51,"value":547},"Modules",{"type":46,"tag":47,"props":549,"children":550},{},[551],{"type":51,"value":552},"Modules tab shows all the modules you have installed and their information such as the module’s github repository, documentation, version and …",{"type":46,"tag":474,"props":554,"children":556},{"width":476,"src":555},"https://user-images.githubusercontent.com/11247099/217670813-ce3da4b6-269c-430e-abb5-a2263ffe4938.png",[],{"type":46,"tag":47,"props":558,"children":559},{},[560],{"type":51,"value":561},"You can install or even remove any Nuxt module with one-click!",{"type":46,"tag":462,"props":563,"children":565},{"id":564},"assets",[566],{"type":51,"value":567},"Assets",{"type":46,"tag":47,"props":569,"children":570},{},[571],{"type":51,"value":572},"Assets tab shows your files from the Public directory, you can see the information of selected file with some helpful actions.",{"type":46,"tag":47,"props":574,"children":575},{},[576],{"type":51,"value":577},"You can also upload files with Drag & Drop ability",{"type":46,"tag":462,"props":579,"children":581},{"id":580},"terminals",[582],{"type":51,"value":583},"Terminals",{"type":46,"tag":47,"props":585,"children":586},{},[587],{"type":51,"value":588},"Terminals tab shows the active terminal processes.",{"type":46,"tag":462,"props":590,"children":592},{"id":591},"runtime-config",[593],{"type":51,"value":594},"Runtime Config",{"type":46,"tag":47,"props":596,"children":597},{},[598],{"type":51,"value":599},"Runtime Config tab shows all the runtime config of your project, with the ability to edit them.",{"type":46,"tag":462,"props":601,"children":603},{"id":602},"payload",[604],{"type":51,"value":605},"Payload",{"type":46,"tag":47,"props":607,"children":608},{},[609],{"type":51,"value":610},"Payloads tab shows all the state and data payloads of your project.",{"type":46,"tag":462,"props":612,"children":614},{"id":613},"build-analyze",[615],{"type":51,"value":616},"Build Analyze",{"type":46,"tag":47,"props":618,"children":619},{},[620],{"type":51,"value":621},"In the Build Analyze tab, you can run analyze build and see the bundle size of your project. it saves the report so you can compare the bundle size in different builds.",{"type":46,"tag":462,"props":623,"children":625},{"id":624},"open-graph",[626],{"type":51,"value":627},"Open Graph",{"type":46,"tag":47,"props":629,"children":630},{},[631],{"type":51,"value":632},"Open Graph tab is to help you with SEO, it shows you a Social Preview Card for twitter, facebook and linkedIn for your page. It also provides missing SEO tags with the ability to copy code snippets.",{"type":46,"tag":462,"props":634,"children":636},{"id":635},"plugins",[637],{"type":51,"value":638},"Plugins",{"type":46,"tag":47,"props":640,"children":641},{},[642],{"type":51,"value":643},"Plugins tab shows all the plugins your project is using, with some information such as plugin's initialization time.",{"type":46,"tag":462,"props":645,"children":647},{"id":646},"server-routes",[648],{"type":51,"value":649},"Server Routes",{"type":46,"tag":47,"props":651,"children":652},{},[653],{"type":51,"value":654},"Server Routes tab shows all nitro routes in your project. It provides a playground to send and test your endpoints.",{"type":46,"tag":462,"props":656,"children":658},{"id":657},"storage",[659],{"type":51,"value":660},"Storage",{"type":46,"tag":47,"props":662,"children":663},{},[664],{"type":51,"value":665},"Storage tab shows all the nitro storage in your project. You can create, edit, and delete files.",{"type":46,"tag":47,"props":667,"children":668},{},[669,671],{"type":51,"value":670},"Learn more about ",{"type":46,"tag":451,"props":672,"children":675},{"href":673,"rel":674},"https://nitro.unjs.io/guide/storage",[455],[676],{"type":51,"value":677},"Nitro Storage",{"type":46,"tag":462,"props":679,"children":681},{"id":680},"hooks",[682],{"type":51,"value":683},"Hooks",{"type":46,"tag":47,"props":685,"children":686},{},[687],{"type":51,"value":688},"Hooks tab can help you to monitor the time spent in each hook. It can be helpful to find performance bottlenecks.",{"type":46,"tag":474,"props":690,"children":692},{"width":476,"src":691},"https://user-images.githubusercontent.com/11247099/217670815-80ec0ec3-7df1-4a07-96fb-4161fb6562a7.png",[],{"type":46,"tag":462,"props":694,"children":696},{"id":695},"virtual-files",[697],{"type":51,"value":698},"Virtual Files",{"type":46,"tag":47,"props":700,"children":701},{},[702],{"type":51,"value":703},"Virtual Files tab shows the virtual files generated by Nuxt to support the conventions.",{"type":46,"tag":474,"props":705,"children":707},{"width":476,"src":706},"https://user-images.githubusercontent.com/11247099/217670817-abb0315a-6d92-4c5e-a4da-2327f22e0e8b.png",[],{"type":46,"tag":462,"props":709,"children":711},{"id":710},"inspect",[712],{"type":51,"value":713},"Inspect",{"type":46,"tag":47,"props":715,"children":716},{},[717,719,729],{"type":51,"value":718},"Inspect expose the ",{"type":46,"tag":451,"props":720,"children":723},{"href":721,"rel":722},"https://github.com/antfu/vite-plugin-inspect",[455],[724],{"type":46,"tag":54,"props":725,"children":726},{},[727],{"type":51,"value":728},"vite-plugin-inspect",{"type":51,"value":730}," integration, allowing you to inspect transformation steps of Vite.",{"type":46,"tag":474,"props":732,"children":734},{"width":476,"src":733},"https://user-images.githubusercontent.com/11247099/217670818-77f91135-7318-462e-9148-4ad504c82555.png",[],{"type":46,"tag":462,"props":736,"children":738},{"id":737},"settings",[739],{"type":51,"value":740},"Settings",{"type":46,"tag":47,"props":742,"children":743},{},[744],{"type":51,"value":745},"Settings tab allows you to configure the DevTools to your needs. you can hide tabs, change tabs order, scale, theme and more...",{"type":46,"tag":462,"props":747,"children":749},{"id":748},"nuxt-icon",[750],{"type":51,"value":751},"Nuxt Icon",{"type":46,"tag":47,"props":753,"children":754},{},[755,757,762,764,768,769,774,775,780,781,786,787,792],{"type":51,"value":756},"Nuxt Icon is the first item on sidebar, located at the top left corner of the DevTools. It gives you a quick access to some useful features such as ",{"type":46,"tag":54,"props":758,"children":759},{},[760],{"type":51,"value":761},"Toggle Theme",{"type":51,"value":763},", ",{"type":46,"tag":54,"props":765,"children":766},{},[767],{"type":51,"value":740},{"type":51,"value":763},{"type":46,"tag":54,"props":770,"children":771},{},[772],{"type":51,"value":773},"Split Screen",{"type":51,"value":763},{"type":46,"tag":54,"props":776,"children":777},{},[778],{"type":51,"value":779},"Popup",{"type":51,"value":763},{"type":46,"tag":54,"props":782,"children":783},{},[784],{"type":51,"value":785},"Refresh Data",{"type":51,"value":763},{"type":46,"tag":54,"props":788,"children":789},{},[790],{"type":51,"value":791},"Refresh Page",{"type":51,"value":793},". you can simply click on it and see the them yourself.",{"type":46,"tag":795,"props":796,"children":798},"h3",{"id":797},"command-palette",[799],{"type":51,"value":800},"Command Palette",{"type":46,"tag":47,"props":802,"children":803},{},[804,806,811,813,818],{"type":51,"value":805},"Command Palette is a quick way to access some useful features of the DevTools such as easy navigation, run commands and Nuxt Documentations. You can open it with ",{"type":46,"tag":54,"props":807,"children":808},{},[809],{"type":51,"value":810},"Ctrl+Shift+K",{"type":51,"value":812}," or ",{"type":46,"tag":54,"props":814,"children":815},{},[816],{"type":51,"value":817},"Cmd+Shift+K",{"type":51,"value":819}," shortcut.",{"type":46,"tag":795,"props":821,"children":823},{"id":822},"split-screen",[824],{"type":51,"value":773},{"type":46,"tag":47,"props":826,"children":827},{},[828,830,834,836,840],{"type":51,"value":829},"Split Screen is a useful feature to use multiple tabs at the same time. You can open it from ",{"type":46,"tag":54,"props":831,"children":832},{},[833],{"type":51,"value":800},{"type":51,"value":835}," or by clicking the ",{"type":46,"tag":54,"props":837,"children":838},{},[839],{"type":51,"value":751},{"type":51,"value":841}," in the top left corner of the DevTools and activate it from there.",{"type":46,"tag":795,"props":843,"children":845},{"id":844},"popup",[846],{"type":51,"value":779},{"type":46,"tag":47,"props":848,"children":849},{},[850,852,856],{"type":51,"value":851},"Popup is very useful for those who has a second screen, you can open it by clicking the ",{"type":46,"tag":54,"props":853,"children":854},{},[855],{"type":51,"value":751},{"type":51,"value":841},{"title":40,"searchDepth":108,"depth":108,"links":858},[859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877],{"id":464,"depth":108,"text":467},{"id":481,"depth":108,"text":484},{"id":496,"depth":108,"text":499},{"id":529,"depth":108,"text":532},{"id":544,"depth":108,"text":547},{"id":564,"depth":108,"text":567},{"id":580,"depth":108,"text":583},{"id":591,"depth":108,"text":594},{"id":602,"depth":108,"text":605},{"id":613,"depth":108,"text":616},{"id":624,"depth":108,"text":627},{"id":635,"depth":108,"text":638},{"id":646,"depth":108,"text":649},{"id":657,"depth":108,"text":660},{"id":680,"depth":108,"text":683},{"id":695,"depth":108,"text":698},{"id":710,"depth":108,"text":713},{"id":737,"depth":108,"text":740},{"id":748,"depth":108,"text":751,"children":878},[879,880,881],{"id":797,"depth":118,"text":800},{"id":822,"depth":118,"text":773},{"id":844,"depth":118,"text":779},"content:1.guide:1.features.md","1.guide/1.features.md",{"_path":36,"_dir":885,"_draft":39,"_partial":39,"_locale":40,"title":35,"description":886,"body":887,"_type":435,"_id":1235,"_source":437,"_file":1236,"_extension":439},"development","Learn how to contribute to the Nuxt DevTools.",{"type":43,"children":888,"toc":1227},[889,894,900,913,918,969,993,999,1004,1029,1035,1054,1072,1077,1094,1100,1112,1123,1142,1217,1222],{"type":46,"tag":47,"props":890,"children":891},{},[892],{"type":51,"value":893},"Hi! We're really excited that you're interested in contributing to Nuxt DevTools! Before submitting your contribution, please read through the following guide.",{"type":46,"tag":462,"props":895,"children":897},{"id":896},"monorepo",[898],{"type":51,"value":899},"Monorepo",{"type":46,"tag":47,"props":901,"children":902},{},[903,905,912],{"type":51,"value":904},"The Nuxt DevTools repo is a monorepo using pnpm workspaces. The package manager used to install and link dependencies must be ",{"type":46,"tag":451,"props":906,"children":909},{"href":907,"rel":908},"https://pnpm.io/",[455],[910],{"type":51,"value":911},"pnpm",{"type":51,"value":460},{"type":46,"tag":47,"props":914,"children":915},{},[916],{"type":51,"value":917},"After cloning the repo, run in the root folder.",{"type":46,"tag":62,"props":919,"children":923},{"className":920,"code":921,"language":922,"meta":40},"language-sh material-theme_material-theme-palenight_material-theme-lighter","pnpm i\npnpm run build\n","sh",[924],{"type":46,"tag":54,"props":925,"children":926},{"__ignoreMap":40},[927,944],{"type":46,"tag":72,"props":928,"children":929},{"class":74,"line":75},[930,935,939],{"type":46,"tag":72,"props":931,"children":933},{"class":932},"ct-902167",[934],{"type":51,"value":911},{"type":46,"tag":72,"props":936,"children":937},{"class":91},[938],{"type":51,"value":94},{"type":46,"tag":72,"props":940,"children":941},{"class":238},[942],{"type":51,"value":943},"i\n",{"type":46,"tag":72,"props":945,"children":946},{"class":74,"line":108},[947,951,955,960,964],{"type":46,"tag":72,"props":948,"children":949},{"class":932},[950],{"type":51,"value":911},{"type":46,"tag":72,"props":952,"children":953},{"class":91},[954],{"type":51,"value":94},{"type":46,"tag":72,"props":956,"children":957},{"class":238},[958],{"type":51,"value":959},"run",{"type":46,"tag":72,"props":961,"children":962},{"class":91},[963],{"type":51,"value":94},{"type":46,"tag":72,"props":965,"children":966},{"class":238},[967],{"type":51,"value":968},"build",{"type":46,"tag":970,"props":971,"children":972},"callout",{},[973],{"type":46,"tag":47,"props":974,"children":975},{},[976,978,985,987,992],{"type":51,"value":977},"Nuxt DevTools uses pnpm v7. If you are working on multiple projects with different versions of pnpm, it's recommended to enable ",{"type":46,"tag":451,"props":979,"children":982},{"href":980,"rel":981},"https://github.com/nodejs/corepack",[455],[983],{"type":51,"value":984},"Corepack",{"type":51,"value":986}," by running ",{"type":46,"tag":54,"props":988,"children":989},{},[990],{"type":51,"value":991},"corepack enable",{"type":51,"value":460},{"type":46,"tag":462,"props":994,"children":996},{"id":995},"packages",[997],{"type":51,"value":998},"Packages",{"type":46,"tag":47,"props":1000,"children":1001},{},[1002],{"type":51,"value":1003},"This repo contains the following packages:",{"type":46,"tag":1005,"props":1006,"children":1007},"ul",{},[1008,1019],{"type":46,"tag":1009,"props":1010,"children":1011},"li",{},[1012,1017],{"type":46,"tag":54,"props":1013,"children":1014},{},[1015],{"type":51,"value":1016},"@nuxt/devtools",{"type":51,"value":1018},": The Nuxt DevTools module",{"type":46,"tag":1009,"props":1020,"children":1021},{},[1022,1027],{"type":46,"tag":54,"props":1023,"children":1024},{},[1025],{"type":51,"value":1026},"@nuxt/devtools-ui-kit",{"type":51,"value":1028},": The UI Kit used by Nuxt DevTools and also for module authors to build UI for DevTools interation",{"type":46,"tag":795,"props":1030,"children":1032},{"id":1031},"devtools",[1033],{"type":51,"value":1034},"DevTools",{"type":46,"tag":47,"props":1036,"children":1037},{},[1038,1040,1045,1047,1052],{"type":51,"value":1039},"Most of the scripts are forward to the root ",{"type":46,"tag":54,"props":1041,"children":1042},{},[1043],{"type":51,"value":1044},"package.json",{"type":51,"value":1046},". You can run ",{"type":46,"tag":54,"props":1048,"children":1049},{},[1050],{"type":51,"value":1051},"pnpm dev",{"type":51,"value":1053}," in the root folder to start the development server (Nuxt DevTools on top of it's own client UI).",{"type":46,"tag":47,"props":1055,"children":1056},{},[1057,1059,1064,1066,1070],{"type":51,"value":1058},"Or you can ",{"type":46,"tag":54,"props":1060,"children":1061},{},[1062],{"type":51,"value":1063},"cd packages/devtools",{"type":51,"value":1065}," and run ",{"type":46,"tag":54,"props":1067,"children":1068},{},[1069],{"type":51,"value":1051},{"type":51,"value":1071}," to start the development server.",{"type":46,"tag":795,"props":1073,"children":1075},{"id":1074},"ui-kit",[1076],{"type":51,"value":28},{"type":46,"tag":47,"props":1078,"children":1079},{},[1080,1082,1087,1088,1092],{"type":51,"value":1081},"Normally when you are developing the Nuxt DevTools, the components in the UI Kit already get the HMR capabilities. But if you want to develop the UI Kit itself, you can run ",{"type":46,"tag":54,"props":1083,"children":1084},{},[1085],{"type":51,"value":1086},"cd packages/devtools-ui-kit",{"type":51,"value":1065},{"type":46,"tag":54,"props":1089,"children":1090},{},[1091],{"type":51,"value":1051},{"type":51,"value":1093}," to start the playground for the UI Kit.",{"type":46,"tag":462,"props":1095,"children":1097},{"id":1096},"trying-local-changes",[1098],{"type":51,"value":1099},"Trying Local Changes",{"type":46,"tag":47,"props":1101,"children":1102},{},[1103,1105,1110],{"type":51,"value":1104},"If you want to try your local changes in other Nuxt projects, you can use the ",{"type":46,"tag":54,"props":1106,"children":1107},{},[1108],{"type":51,"value":1109},"local.ts",{"type":51,"value":1111}," module under the root folder.",{"type":46,"tag":47,"props":1113,"children":1114},{},[1115,1117,1121],{"type":51,"value":1116},"Change ",{"type":46,"tag":54,"props":1118,"children":1119},{},[1120],{"type":51,"value":1016},{"type":51,"value":1122}," to the absolute path of this module in any of your Nuxt projects,\nallows you to try Nuxt DevTools locally directly from the source code. HMR is supported\nfor the front-end client.",{"type":46,"tag":47,"props":1124,"children":1125},{},[1126,1128,1133,1135,1140],{"type":51,"value":1127},"For example, if you clone this repo to ",{"type":46,"tag":54,"props":1129,"children":1130},{},[1131],{"type":51,"value":1132},"/users/me/nuxt-devtools",{"type":51,"value":1134},", update your ",{"type":46,"tag":54,"props":1136,"children":1137},{},[1138],{"type":51,"value":1139},"nuxt.config.ts",{"type":51,"value":1141},":",{"type":46,"tag":62,"props":1143,"children":1147},{"className":1144,"code":1145,"language":1146,"meta":40},"language-diff material-theme_material-theme-palenight_material-theme-lighter","// nuxt.config.ts\nexport default defineNuxtConfig({\n  modules: [\n-   '@nuxt/devtools',\n+   '/users/me/nuxt-devtools/local',\n  ]\n})\n","diff",[1148],{"type":46,"tag":54,"props":1149,"children":1150},{"__ignoreMap":40},[1151,1159,1167,1175,1188,1201,1209],{"type":46,"tag":72,"props":1152,"children":1153},{"class":74,"line":75},[1154],{"type":46,"tag":72,"props":1155,"children":1156},{"class":91},[1157],{"type":51,"value":1158},"// nuxt.config.ts\n",{"type":46,"tag":72,"props":1160,"children":1161},{"class":74,"line":108},[1162],{"type":46,"tag":72,"props":1163,"children":1164},{"class":91},[1165],{"type":51,"value":1166},"export default defineNuxtConfig({\n",{"type":46,"tag":72,"props":1168,"children":1169},{"class":74,"line":118},[1170],{"type":46,"tag":72,"props":1171,"children":1172},{"class":91},[1173],{"type":51,"value":1174},"  modules: [\n",{"type":46,"tag":72,"props":1176,"children":1177},{"class":74,"line":156},[1178,1183],{"type":46,"tag":72,"props":1179,"children":1180},{"class":79},[1181],{"type":51,"value":1182},"-",{"type":46,"tag":72,"props":1184,"children":1185},{"class":85},[1186],{"type":51,"value":1187},"   '@nuxt/devtools',\n",{"type":46,"tag":72,"props":1189,"children":1190},{"class":74,"line":173},[1191,1196],{"type":46,"tag":72,"props":1192,"children":1193},{"class":79},[1194],{"type":51,"value":1195},"+",{"type":46,"tag":72,"props":1197,"children":1198},{"class":238},[1199],{"type":51,"value":1200},"   '/users/me/nuxt-devtools/local',\n",{"type":46,"tag":72,"props":1202,"children":1203},{"class":74,"line":180},[1204],{"type":46,"tag":72,"props":1205,"children":1206},{"class":91},[1207],{"type":51,"value":1208},"  ]\n",{"type":46,"tag":72,"props":1210,"children":1211},{"class":74,"line":197},[1212],{"type":46,"tag":72,"props":1213,"children":1214},{"class":91},[1215],{"type":51,"value":1216},"})",{"type":46,"tag":47,"props":1218,"children":1219},{},[1220],{"type":51,"value":1221},"On the module code, the source TypeScript file are directly used, so you don't need to build everytime. However, due to Node.js module caching, you need to restart your app to see the changes on the module side.",{"type":46,"tag":428,"props":1223,"children":1224},{},[1225],{"type":51,"value":1226},".material-theme_material-theme-palenight_material-theme-lighter{color:#EEFFFF;background:#263238;}.dark .material-theme_material-theme-palenight_material-theme-lighter{color:#A6ACCD;background:#292D3E;}.light .material-theme_material-theme-palenight_material-theme-lighter{color:#90A4AE;background:#FAFAFA;}.ct-902167{color:#FFCB6B;}.light .ct-902167{color:#E2931D;}.ct-521921{color:#EEFFFF;}.dark .ct-521921{color:#A6ACCD;}.light .ct-521921{color:#90A4AE;}.ct-083593{color:#C3E88D;}.light .ct-083593{color:#91B859;}.ct-542793{color:#89DDFF;}.light .ct-542793{color:#39ADB5;}.ct-821147{color:#F07178;}.light .ct-821147{color:#E53935;}",{"title":40,"searchDepth":108,"depth":108,"links":1228},[1229,1230,1234],{"id":896,"depth":108,"text":899},{"id":995,"depth":108,"text":998,"children":1231},[1232,1233],{"id":1031,"depth":118,"text":1034},{"id":1074,"depth":118,"text":28},{"id":1096,"depth":108,"text":1099},"content:3.development:0.contributing.md","3.development/0.contributing.md",1695781437882]