[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$KiqIp5Qu8t":3,"vue-tips-\u002Fvue-tips\u002Fnuxt-analyse-production-bundle":52,"blogToc-\u002Fvue-tips\u002Fnuxt-analyse-production-bundle":167,"vue-tips-surrounding-\u002Fvue-tips\u002Fnuxt-analyse-production-bundle":227},{"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":145,"cover":147,"date":148,"description":149,"extension":150,"lastUpdated":151,"meta":152,"navigation":11,"ogImage":151,"path":153,"readingTime":154,"robots":151,"schemaOrg":151,"seo":159,"sitemap":160,"stem":165,"tags":151,"__hash__":166},"vueTips\u002Fvue-tips\u002Fnuxt-analyse-production-bundle\u002Findex.md","Nuxt Tip: Analyse Production Bundle",{"type":56,"value":57,"toc":142},"minimark",[58,69,72,98,106,113,116,125,135,138],[59,60,61,68],"p",{},[62,63,67],"a",{"href":64,"rel":65},"https:\u002F\u002Fnuxt.com\u002Fdocs\u002Fapi\u002Fcommands\u002Fanalyze",[66],"nofollow","nuxi analyse"," is an experimental feature that builds your Nuxt application and analyses the production bundle.",[59,70,71],{},"To get started, simply call the following command in your project's directory:",[73,74,79],"pre",{"className":75,"code":76,"language":77,"meta":78,"style":78},"language-bash shiki shiki-themes github-light poimandres poimandres","npx nuxi analyze\n","bash","",[80,81,82],"code",{"__ignoreMap":78},[83,84,87,91,95],"span",{"class":85,"line":86},"line",1,[83,88,90],{"class":89},"sgaD9","npx",[83,92,94],{"class":93},"sMmyg"," nuxi",[83,96,97],{"class":93}," analyze\n",[59,99,100,101,105],{},"This command creates a local server to view your ",[102,103,104],"strong",{},"production"," bundles:",[59,107,108],{},[109,110],"img",{"alt":111,"src":112},"Local Server","vue-tips\u002Fnuxt-analyse-production-bundle\u002Fnuxi-analyse-select_qfivcz.png",[59,114,115],{},"You can select if you want to view bundle stats for the client or the Nitro server.",[59,117,118,119,124],{},"The following pictures show the client and server bundle stats for ",[62,120,123],{"href":121,"rel":122},"https:\u002F\u002Fweekly-vue.news",[66],"weekly-vue.news",":",[59,126,127,131],{},[109,128],{"alt":129,"src":130},"Client Bundle Stats","vue-tips\u002Fnuxt-analyse-production-bundle\u002Fnuxi-analyse-client_xzwcsi.png",[109,132],{"alt":133,"src":134},"Nitro Server Bundle Stats","vue-tips\u002Fnuxt-analyse-production-bundle\u002Fnuxi-analyse-nitro_dvjucu.png",[59,136,137],{},"At first glance, everything could seem overwhelming, but the larger the rectangle, the bigger the dependency is within the bundle and the more likely it is to have an impact on performance.",[139,140,141],"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":78,"searchDepth":143,"depth":143,"links":144},2,[],[146],"nuxt","vue-tips\u002Fnuxt-analyse-production-bundle-static-v1.jpg","2023-01-23","Nuxi analyze is an experimental feature that builds your Nuxt app and analyses the production bundle.","md",null,{},"\u002Fvue-tips\u002Fnuxt-analyse-production-bundle",{"text":155,"minutes":156,"time":157,"words":158},"1 min read",0.49,29400,98,{"title":54,"description":149},{"loc":153,"images":161,"lastmod":148},[162,163,164],{"loc":112},{"loc":130},{"loc":134},"vue-tips\u002Fnuxt-analyse-production-bundle\u002Findex","qOKVyEXsJPcQz_JQ69oDfbRY_QYCZ6do12XT4zHaXJA",{"id":168,"title":54,"body":169,"cover":147,"description":149,"extension":150,"meta":217,"navigation":11,"path":153,"robots":151,"seo":220,"sitemap":221,"stem":165,"__hash__":226},"content\u002Fvue-tips\u002Fnuxt-analyse-production-bundle\u002Findex.md",{"type":56,"value":170,"toc":215},[171,176,178,190,194,198,200,205,211,213],[59,172,173,68],{},[62,174,67],{"href":64,"rel":175},[66],[59,177,71],{},[73,179,180],{"className":75,"code":76,"language":77,"meta":78,"style":78},[80,181,182],{"__ignoreMap":78},[83,183,184,186,188],{"class":85,"line":86},[83,185,90],{"class":89},[83,187,94],{"class":93},[83,189,97],{"class":93},[59,191,100,192,105],{},[102,193,104],{},[59,195,196],{},[109,197],{"alt":111,"src":112},[59,199,115],{},[59,201,118,202,124],{},[62,203,123],{"href":121,"rel":204},[66],[59,206,207,209],{},[109,208],{"alt":129,"src":130},[109,210],{"alt":133,"src":134},[59,212,137],{},[139,214,141],{},{"title":78,"searchDepth":143,"depth":143,"links":216},[],{"categories":218,"date":148,"readingTime":219},[146],{"text":155,"minutes":156,"time":157,"words":158},{"title":54,"description":149},{"loc":153,"images":222,"lastmod":148},[223,224,225],{"loc":112},{"loc":130},{"loc":134},"oADc8GKTq29CfAsjn6X71cm7jPGt0EgSnQpQhJsQ5yo",[228,232],{"title":229,"path":230,"stem":231,"children":-1},"Vue Tip: Destructure Props in Composition API Without Losing Reactivity","\u002Fvue-tips\u002Fdestructure-props-in-composition-api-without-losing-reactivity","vue-tips\u002Fdestructure-props-in-composition-api-without-losing-reactivity\u002Findex",{"title":233,"path":234,"stem":235,"children":-1},"Pinia Tip: Use Setup Stores for More Flexibility","\u002Fvue-tips\u002Fpinia-use-setup-stores-for-more-flexibility","vue-tips\u002Fpinia-use-setup-stores-for-more-flexibility\u002Findex"]