[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$KiqIp5Qu8t":3,"vue-tips-\u002Fvue-tips\u002Fnuxt-use-dev-tools-to-know-your-app-better":52,"blogToc-\u002Fvue-tips\u002Fnuxt-use-dev-tools-to-know-your-app-better":266,"vue-tips-surrounding-\u002Fvue-tips\u002Fnuxt-use-dev-tools-to-know-your-app-better":390},{"id":4,"extension":5,"items":6,"meta":49,"stem":50,"__hash__":51},"menu\u002Fmenu.json","json",[7,12,16,20,24,28,32,36,41,45],{"i18nId":8,"to":9,"ariaLabel":10,"mainNavigation":11},"components.menu.home","\u002F","Home",true,{"i18nId":13,"to":14,"ariaLabel":15,"mainNavigation":11},"components.menu.about","\u002Fhire-me","About",{"i18nId":17,"to":18,"ariaLabel":19,"mainNavigation":11},"components.menu.testimonials","\u002Ftestimonials","Testimonials",{"i18nId":21,"to":22,"ariaLabel":23},"components.menu.contact","\u002Fcontact","Contact",{"i18nId":25,"to":26,"ariaLabel":27,"mainNavigation":11},"components.menu.blog","\u002Fblog","Blog",{"i18nId":29,"to":30,"ariaLabel":31,"mainNavigation":11},"components.menu.tips","\u002Fvue-tips","Vue Tips",{"i18nId":33,"to":34,"ariaLabel":35,"mainNavigation":11},"components.menu.projects","\u002Fprojects","Projects",{"i18nId":37,"to":38,"ariaLabel":39,"mainNavigation":40},"components.menu.stats","\u002Fstats","stats",false,{"i18nId":42,"to":43,"ariaLabel":44,"mainNavigation":40},"components.menu.businessCard","\u002Fbusiness-card","Business Card",{"i18nId":46,"to":47,"ariaLabel":48,"mainNavigation":40},"components.menu.publications","\u002Fpublications","Publications",{},"menu","njLT1QoRt2Dv8QWoVmH8xdTAiDywSj0bxBQdmoyWUE0",{"id":53,"title":54,"body":55,"categories":245,"cover":247,"date":248,"description":249,"extension":250,"lastUpdated":251,"meta":252,"navigation":11,"ogImage":251,"path":253,"readingTime":254,"robots":251,"schemaOrg":251,"seo":259,"sitemap":260,"stem":264,"tags":251,"__hash__":265},"vueTips\u002Fvue-tips\u002Fnuxt-use-dev-tools-to-know-your-app-better\u002Findex.md","Nuxt Tip: Use DevTools to Know Your App Better",{"type":56,"value":57,"toc":239},"minimark",[58,80,85,92,121,131,134,142,149,152,158,162,165,168,197,212,216,219,235],[59,60,61,72],"warning",{},[62,63,64,71],"p",{},[65,66,70],"a",{"href":67,"rel":68},"https:\u002F\u002Fgithub.com\u002Fnuxt\u002Fdevtools",[69],"nofollow","Nuxt DevTools"," is experimental and under heavy development. APIs are subject to change.",[62,73,74,75,79],{},"You need ",[76,77,78],"strong",{},"Nuxt v3.1.0 or higher"," to use DevTools.",[81,82,84],"h2",{"id":83},"installation","Installation",[62,86,87,88,91],{},"To enable ",[65,89,70],{"href":67,"rel":90},[69]," you can opt-in per-project by running the following command:",[93,94,99],"pre",{"className":95,"code":96,"language":97,"meta":98,"style":98},"language-bash shiki shiki-themes github-light poimandres poimandres","npx nuxi@latest devtools enable\n","bash","",[100,101,102],"code",{"__ignoreMap":98},[103,104,107,111,115,118],"span",{"class":105,"line":106},"line",1,[103,108,110],{"class":109},"sgaD9","npx",[103,112,114],{"class":113},"sMmyg"," nuxi@latest",[103,116,117],{"class":113}," devtools",[103,119,120],{"class":113}," enable\n",[122,123,124],"note",{},[62,125,126,127,130],{},"Nuxt DevTools will be installed as a global module and only activated for the projects you enabled. The configuration will be saved in your local ",[100,128,129],{},"~\u002F.nuxtrc"," file, so it doesn't affect your team unless they also opt-in.",[62,132,133],{},"Next, you need to restart your Nuxt server and open it in your browser.",[62,135,136,137,141],{},"To toggle the DevTools, you can either click the Nuxt icon at the bottom of the browser window or press ",[138,139,140],"kbd",{},"Alt \u002F ⌥ Option + D",":",[62,143,144],{},[145,146],"img",{"alt":147,"src":148},"Nuxt DevTools Toggle Button","vue-tips\u002Fuse-dev-tools-to-know-your-app-better\u002Ftoggle-nuxt-devtools.png",[62,150,151],{},"You should then see the start screen of the DevTools:",[62,153,154],{},[145,155],{"alt":156,"src":157},"Nuxt DevTools Start Screen","vue-tips\u002Fuse-dev-tools-to-know-your-app-better\u002Fnuxt-devtools-start-screen.png",[81,159,161],{"id":160},"features","Features",[62,163,164],{},"Nuxt DevTools is a set of visual tools available right inside your app.",[62,166,167],{},"Here is a list of the current features:",[169,170,171,175,178,181,184,187,190],"ul",{},[172,173,174],"li",{},"Pages: The pages tab shows your current routes and provides a quick way to navigate them.",[172,176,177],{},"Components: Components tab show all the components you are using in your app and where they are from.",[172,179,180],{},"Imports: Imports tab shows all the auto-imports registered to Nuxt.",[172,182,183],{},"Modules: Modules tab shows all the modules you have installed and the links to their documentation.",[172,185,186],{},"Hooks: Hooks tab can help you to monitor the time spent in each hook to identify performance bottlenecks.",[172,188,189],{},"Virtual Files: Virtual Files tab shows the virtual files generated by Nuxt to support the conventions.",[172,191,192,193,196],{},"Inspect: Inspect expose the ",[100,194,195],{},"vite-plugin-inspect"," integration, allowing you to inspect transformation steps of Vite.",[62,198,199,200,205,206,211],{},"Check the ",[65,201,204],{"href":202,"rel":203},"https:\u002F\u002Fgithub.com\u002Fnuxt\u002Fdevtools#features",[69],"official docs"," to get more details about the features. The official ",[65,207,210],{"href":208,"rel":209},"https:\u002F\u002Fgithub.com\u002Fnuxt\u002Fdevtools\u002Fdiscussions\u002F31",[69],"roadmap"," is also interesting.",[81,213,215],{"id":214},"disable-devtools","Disable DevTools",[62,217,218],{},"Of course, you can disable DevTools per-project by running:",[93,220,222],{"className":95,"code":221,"language":97,"meta":98,"style":98},"npx nuxi@latest devtools disable\n",[100,223,224],{"__ignoreMap":98},[103,225,226,228,230,232],{"class":105,"line":106},[103,227,110],{"class":109},[103,229,114],{"class":113},[103,231,117],{"class":113},[103,233,234],{"class":113}," disable\n",[236,237,238],"style",{},"html pre.shiki code .sgaD9, html code.shiki .sgaD9{--shiki-light:#6F42C1;--shiki-default:#91B4D5;--shiki-dark:#91B4D5}html pre.shiki code .sMmyg, html code.shiki .sMmyg{--shiki-light:#032F62;--shiki-default:#ADD7FF;--shiki-dark:#ADD7FF}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);}",{"title":98,"searchDepth":240,"depth":240,"links":241},2,[242,243,244],{"id":83,"depth":240,"text":84},{"id":160,"depth":240,"text":161},{"id":214,"depth":240,"text":215},[246],"nuxt","vue-tips\u002Fuse-dev-tools-to-know-your-app-better\u002Fog.png","2023-02-14","Nuxt DevTools is a set of visual tools that help you to know your app better. ","md",null,{},"\u002Fvue-tips\u002Fnuxt-use-dev-tools-to-know-your-app-better",{"text":255,"minutes":256,"time":257,"words":258},"2 min read",1.325,79500,265,{"title":54,"description":249},{"loc":253,"images":261,"lastmod":248},[262,263],{"loc":148},{"loc":157},"vue-tips\u002Fnuxt-use-dev-tools-to-know-your-app-better\u002Findex","xiv3RKkOMFLwOoxkj5asO7TEi2A-ST6N3v2lJF56gEM",{"id":267,"title":54,"body":268,"cover":247,"description":249,"extension":250,"meta":381,"navigation":11,"path":253,"robots":251,"seo":384,"sitemap":385,"stem":264,"__hash__":389},"content\u002Fvue-tips\u002Fnuxt-use-dev-tools-to-know-your-app-better\u002Findex.md",{"type":56,"value":269,"toc":376},[270,281,283,288,302,308,310,314,318,320,324,326,328,330,348,356,358,360,374],[59,271,272,277],{},[62,273,274,71],{},[65,275,70],{"href":67,"rel":276},[69],[62,278,74,279,79],{},[76,280,78],{},[81,282,84],{"id":83},[62,284,87,285,91],{},[65,286,70],{"href":67,"rel":287},[69],[93,289,290],{"className":95,"code":96,"language":97,"meta":98,"style":98},[100,291,292],{"__ignoreMap":98},[103,293,294,296,298,300],{"class":105,"line":106},[103,295,110],{"class":109},[103,297,114],{"class":113},[103,299,117],{"class":113},[103,301,120],{"class":113},[122,303,304],{},[62,305,126,306,130],{},[100,307,129],{},[62,309,133],{},[62,311,136,312,141],{},[138,313,140],{},[62,315,316],{},[145,317],{"alt":147,"src":148},[62,319,151],{},[62,321,322],{},[145,323],{"alt":156,"src":157},[81,325,161],{"id":160},[62,327,164],{},[62,329,167],{},[169,331,332,334,336,338,340,342,344],{},[172,333,174],{},[172,335,177],{},[172,337,180],{},[172,339,183],{},[172,341,186],{},[172,343,189],{},[172,345,192,346,196],{},[100,347,195],{},[62,349,199,350,205,353,211],{},[65,351,204],{"href":202,"rel":352},[69],[65,354,210],{"href":208,"rel":355},[69],[81,357,215],{"id":214},[62,359,218],{},[93,361,362],{"className":95,"code":221,"language":97,"meta":98,"style":98},[100,363,364],{"__ignoreMap":98},[103,365,366,368,370,372],{"class":105,"line":106},[103,367,110],{"class":109},[103,369,114],{"class":113},[103,371,117],{"class":113},[103,373,234],{"class":113},[236,375,238],{},{"title":98,"searchDepth":240,"depth":240,"links":377},[378,379,380],{"id":83,"depth":240,"text":84},{"id":160,"depth":240,"text":161},{"id":214,"depth":240,"text":215},{"categories":382,"date":248,"readingTime":383},[246],{"text":255,"minutes":256,"time":257,"words":258},{"title":54,"description":249},{"loc":253,"images":386,"lastmod":248},[387,388],{"loc":148},{"loc":157},"bg1EQOax_yk2ObQT0Im8nFPJZX0xi9HGhfRAeQq0q-A",[391,395],{"title":392,"path":393,"stem":394,"children":-1},"Vue Tip: Use Scoped Slots in a Child Component to Provide Data for Parent Component","\u002Fvue-tips\u002Fuse-scoped-slots-in-a-child-component-to-provide-data-for-parent-component","vue-tips\u002Fuse-scoped-slots-in-a-child-component-to-provide-data-for-parent-component\u002Findex",{"title":396,"path":397,"stem":398,"children":-1},"Vue Tip: Re-Rendering Vue Routes When Path Parameters Change","\u002Fvue-tips\u002Fre-rendering-vue-routes-when-path-parameters-change","vue-tips\u002Fre-rendering-vue-routes-when-path-parameters-change\u002Findex"]