[{"data":1,"prerenderedAt":1671},["ShallowReactive",2],{"menu-latest-post-en":3,"counterpart-en-\u002Fen\u002Fblog":8,"menu-latest-case-study-en":9,"page-blog-en":15,"blog-posts-en":47},{"slug":4,"title":5,"date":6,"cover":7},"what-makes-a-website-actually-convert","What makes a website actually sell (and why most don't)","2026-05-14","convert",null,{"slug":10,"client":11,"date":12,"text":13,"image":14},"rawia-rawicz","Rawia Rawicz","2026-08-01","Match photos for the club's everyday communication","\u002Fimages\u002Frawia-rawicz\u002Fhero.jpg",{"page":16,"isFallback":46},{"id":17,"title":18,"always":8,"blogArticle":19,"blogList":21,"body":8,"bundle":8,"caseStudies":8,"caseStudiesList":8,"collaboration":8,"collaborationHero":8,"contact":8,"description":29,"extension":30,"faq":8,"hero":8,"inquiryResult":8,"meta":31,"navigation":32,"og":33,"ongoing":8,"overview":8,"path":35,"pricingFaq":8,"problem":8,"process":8,"projects":8,"seo":36,"services":8,"stem":38,"street":8,"talkBands":39,"testimonials":8,"__hash__":45},"pagesEn\u002Fpages\u002Fblog.yml","A blog about websites, AI and code",{"authorBio":20},"Full stack developer from Rawicz, at Monterail since 2022. I help local businesses win customers with websites, AI automation and reels.",{"heading":22,"accent":23,"lede":24,"filterLabel":25,"all":26,"listLabel":27,"empty":28},"A blog","about websites, AI and code","I write about how websites and automation bring customers to local businesses. I also share practical tips from my work. From web technologies to photography, photo and video editing, and social media.","Filter articles","All","Articles","No articles in this category.","Articles on how websites and AI bring customers to local businesses, plus practical Vue.js guides. Daniel Kasperczyk, Rawicz.","yml",{},true,{"image":34},"[OG_IMAGE_URL]","\u002Fpages\u002Fblog",{"title":37,"description":29},"Blog | Daniel Kasperczyk, websites and AI for local businesses","pages\u002Fblog",{"blog":40,"article":43},{"text":41,"cta":42},"Got a question about your website, or a topic for an article? Write to me.","Book a call",{"text":44,"cta":42},"Got a question after reading, or want to put this to work for your business? Let's talk on a free call.","EIkM5CgTfJJ5zUfsBdDNJlJZo0ySNSn5goqR9RhaK_M",false,[48,313,342,369,394,1179],{"id":49,"title":5,"author":50,"body":54,"category":291,"cover":7,"date":6,"description":292,"extension":293,"href":8,"image":8,"lede":294,"localeUrls":295,"meta":299,"minRead":300,"navigation":32,"path":301,"seo":302,"sitemap":304,"source":8,"stem":305,"summary":306,"tags":307,"talkBand":310,"translationKey":4,"__hash__":312},"blogEn\u002Fblog\u002Fwhat-makes-a-website-actually-convert.md",{"name":51,"avatar":52},"Daniel Kasperczyk",{"src":53,"alt":51},"\u002Fimages\u002Fdanielkasperczyk.avif",{"type":55,"value":56,"toc":280},"minimark",[57,62,66,95,102,106,109,130,133,137,144,147,157,172,176,179,186,197,201,204,207,211,214,240,244,247,250,254,277],[58,59,61],"h2",{"id":60},"conversion","What is a conversion, anyway?",[63,64,65],"p",{},"A conversion is the action you want a visitor to take on your website. Not the number of visits, not time on site and not the number of likes. It's different for every business:",[67,68,69,77,83,89],"ul",{},[70,71,72,76],"li",{},[73,74,75],"strong",{},"Beauty salon:"," an online booking.",[70,78,79,82],{},[73,80,81],{},"Garage or renovation company:"," a phone call or a quote request.",[70,84,85,88],{},[73,86,87],{},"Restaurant:"," a table reservation or an order.",[70,90,91,94],{},[73,92,93],{},"Clinic:"," booking a first consultation.",[63,96,97,98,101],{},"Many businesses watch numbers that look good but say nothing. A website can have thousands of visits a month and not bring in a single customer. Before you change anything, decide on the ",[73,99,100],{},"one action"," a visitor should take.",[58,103,105],{"id":104},"first-seconds","The first few seconds",[63,107,108],{},"Someone lands on your website from Google or Instagram and decides within a few seconds whether to stay. In that time they're looking for answers to three questions:",[110,111,112,118,124],"ol",{},[70,113,114,117],{},[73,115,116],{},"Do I know what this is?"," A clear headline and a readable layout, no guesswork.",[70,119,120,123],{},[73,121,122],{},"Is it for me?"," A service, a place and a problem that match what I'm looking for.",[70,125,126,129],{},[73,127,128],{},"Can I trust this business?"," Real photos, reviews and concrete information.",[63,131,132],{},"If the website doesn't answer them right away, the visitor goes back to the search results and clicks on a competitor.",[58,134,136],{"id":135},"message","The messaging problem",[63,138,139,140,143],{},"The most common mistake I see: the website opens with the company's history, not the customer's problem. \"We've been in business for 15 years\" is about you. The customer wants to know whether you'll solve ",[73,141,142],{},"their"," problem.",[63,145,146],{},"The StoryBrand framework works well here: the customer is the hero of the story, and your business is the guide who helps them reach their goal.",[148,149,150],"pull-quote",{},[63,151,152,153],{},"Your website isn't about you. ",[154,155,156],"em",{},"It's about your customer's problem.",[158,159,160,167],"before-after",{},[161,162,164],"template",{"v-slot:before":163},"",[63,165,166],{},"“Welcome to the website of Smith & Sons. Since 2009 we have been providing services of the highest quality.”",[161,168,169],{"v-slot:after":163},[63,170,171],{},"“Dripping tap or blocked drain? We'll be with you in Rawicz today. Call or book a slot.”",[58,173,175],{"id":174},"speed","Speed",[63,177,178],{},"A slow website loses people before they even see the offer. Google's research shows that with every extra second of loading, more people leave the page without doing anything. Especially on a phone with a weaker signal.",[63,180,181,182,185],{},"Free tools are enough to start with, such as ",[73,183,184],{},"PageSpeed Insights"," or Lighthouse in Chrome. What helps most often:",[67,187,188,191,194],{},[70,189,190],{},"resizing and compressing images,",[70,192,193],{},"removing unnecessary plugins and scripts,",[70,195,196],{},"good hosting instead of the cheapest plan.",[58,198,200],{"id":199},"trust","Navigation and trust",[63,202,203],{},"A menu with ten items is distracting. Every extra link is another path leading away from the most important action. Keep only what customers are actually looking for.",[63,205,206],{},"Reviews work the same way: specifics beat generalities. \"Great service!\" says very little. A review with a name, a company and a result, such as \"since the new website we get twice as many enquiries\", builds much stronger trust.",[58,208,210],{"id":209},"contact","The contact page and what happens next",[63,212,213],{},"This is where a visitor becomes a customer, so don't make this step hard for them:",[67,215,216,222,228,234],{},[70,217,218,221],{},[73,219,220],{},"A short form:"," name, phone or email and a short message. Nothing more.",[70,223,224,227],{},[73,225,226],{},"The phone number as plain text,"," tappable on a phone, not hidden in an image.",[70,229,230,233],{},[73,231,232],{},"A clear next step:"," say what happens after they send it and when you'll get back to them.",[70,235,236,239],{},[73,237,238],{},"A quick reply:"," the longer you wait, the more likely the customer books somewhere else.",[58,241,243],{"id":242},"mobile","Phones and calls to action",[63,245,246],{},"Most people look for local businesses on their phone. Check your website on your own smartphone: is the button easy to tap with a thumb, can the text be read without zooming, and is the phone number close at hand?",[63,248,249],{},"A call to action should say exactly what will happen. \"Contact\" is vague. \"Book a visit\", \"Call for a quote\" or \"Reserve a table for tonight\" work better, because the customer knows what they're clicking.",[58,251,253],{"id":252},"what-it-looks-like","What a website that sells looks like",[255,256,257],"checklist",{},[67,258,259,262,265,268,271,274],{},[70,260,261],{},"It loads fast, on a phone too.",[70,263,264],{},"It's immediately clear who it's for and what it offers.",[70,266,267],{},"It starts with the customer's problem, not the company's history.",[70,269,270],{},"It has specific reviews and real photos.",[70,272,273],{},"It leads to one clear action.",[70,275,276],{},"Getting in touch takes less than a minute.",[63,278,279],{},"One last simple test: read your homepage headline out loud. Would a stranger immediately understand what you do and why it matters to them? If not, that's where to start.",{"title":163,"searchDepth":281,"depth":281,"links":282},2,[283,284,285,286,287,288,289,290],{"id":60,"depth":281,"text":61},{"id":104,"depth":281,"text":105},{"id":135,"depth":281,"text":136},{"id":174,"depth":281,"text":175},{"id":199,"depth":281,"text":200},{"id":209,"depth":281,"text":210},{"id":242,"depth":281,"text":243},{"id":252,"depth":281,"text":253},"business","Why does your website get traffic but no enquiries? Messaging, speed, trust and calls to action: what to fix first so your website brings in calls and bookings.","md","Your website gets visitors, but the phone stays silent? The problem is rarely the technology. It is what people see in the first few seconds and how easy it is for them to take the next step.",{"pl":296,"en":297,"self":298},"\u002Fblog\u002Fstrona-ktora-sprzedaje","\u002Fen\u002Fblog\u002Fwhat-makes-a-website-actually-convert","en",{},8,"\u002Fblog\u002Fwhat-makes-a-website-actually-convert",{"title":303,"description":292},"What makes a website actually sell | Daniel Kasperczyk's blog",{"loc":301,"lastmod":6},"blog\u002Fwhat-makes-a-website-actually-convert","Why does your website get traffic but no enquiries? Slow loading, unclear messaging and weak calls to action, plus what to fix first.",[308,309],"Conversion","Websites",{"text":311,"cta":42},"Want me to check your website for this? I'll do it on a free call.","fCQuXu_DqVkTcBi5OABB-aNtvMDLCDnSuhIloyZ4h_g",{"id":314,"title":315,"author":316,"body":318,"category":322,"cover":323,"date":324,"description":325,"extension":293,"href":326,"image":8,"lede":8,"localeUrls":327,"meta":330,"minRead":331,"navigation":32,"path":332,"seo":333,"sitemap":334,"source":335,"stem":336,"summary":337,"tags":338,"talkBand":8,"translationKey":340,"__hash__":341},"blogEn\u002Fblog\u002Fvue3-dynamic-components-explained-comprehensive-guide.md","Vue 3 Dynamic Components Explained: Comprehensive Guide",{"name":51,"avatar":317},{"src":53,"alt":51},{"type":55,"value":319,"toc":320},[],{"title":163,"searchDepth":281,"depth":281,"links":321},[],"vue","components","2025-09-17","One of the powerful features leveraged by experienced Vue.js developers is the ability to use dynamic components, which significantly enhance the interactivity and modularity of web applications. With dynamic Vue components, teams mastering Vue.js services can effortlessly switch between elements within a single template, ensuring a more streamlined and maintainable codebase.","https:\u002F\u002Fwww.monterail.com\u002Fblog\u002Funderstanding-dynamic-components-in-vue-3",{"pl":328,"en":329,"self":298},"\u002Fblog\u002Fkomponenty-dynamiczne-w-vue3","\u002Fen\u002Fblog\u002Fvue3-dynamic-components-explained-comprehensive-guide",{},15,"\u002Fblog\u002Fvue3-dynamic-components-explained-comprehensive-guide",{"title":315,"description":325},{"loc":332,"lastmod":324},"Monterail","blog\u002Fvue3-dynamic-components-explained-comprehensive-guide","How dynamic components in Vue 3 let you switch elements within a single template and keep your code modular and easy to maintain.",[339],"Components","vue3-dynamic-components-explained-comprehensive-guide","BpdIbsVHsyGwOqPRaYTr3JX06S-a_IF-GOEE1bzq4D4",{"id":343,"title":344,"author":345,"body":347,"category":322,"cover":351,"date":352,"description":353,"extension":293,"href":354,"image":8,"lede":8,"localeUrls":355,"meta":358,"minRead":331,"navigation":32,"path":359,"seo":360,"sitemap":361,"source":335,"stem":362,"summary":363,"tags":364,"talkBand":8,"translationKey":367,"__hash__":368},"blogEn\u002Fblog\u002Fvuejs-optimization-boost-your-app-performance-with-vue-directives.md","Vue.js Optimization: Boost Your App Performance with Vue Directives",{"name":51,"avatar":346},{"src":53,"alt":51},{"type":55,"value":348,"toc":349},[],{"title":163,"searchDepth":281,"depth":281,"links":350},[],"directives","2025-09-15","Vue.js directives are essential and powerful tools that help developers easily create dynamic, responsive user interfaces. They are crucial in managing tasks like conditional rendering, event handling, and binding dynamic data, making them indispensable for crafting interactive applications.","https:\u002F\u002Fwww.monterail.com\u002Fblog\u002Fvue-js-optimization-with-vue-directives",{"pl":356,"en":357,"self":298},"\u002Fblog\u002Foptymalizacja-vue-z-dyrektywami","\u002Fen\u002Fblog\u002Fvuejs-optimization-boost-your-app-performance-with-vue-directives",{},"\u002Fblog\u002Fvuejs-optimization-boost-your-app-performance-with-vue-directives",{"title":344,"description":353},{"loc":359,"lastmod":352},"blog\u002Fvuejs-optimization-boost-your-app-performance-with-vue-directives","Vue directives in practice: conditional rendering, event handling and data binding in interactive interfaces.",[365,366],"Directives","Performance","vuejs-optimization-boost-your-app-performance-with-vue-directives","o8-XDZcqC0iqIzPaeLjU1Rkesuu1soxvqRit76vuKmg",{"id":370,"title":371,"author":372,"body":374,"category":322,"cover":378,"date":379,"description":380,"extension":293,"href":381,"image":8,"lede":8,"localeUrls":382,"meta":385,"minRead":331,"navigation":32,"path":386,"seo":387,"sitemap":388,"source":335,"stem":389,"summary":390,"tags":391,"talkBand":8,"translationKey":392,"__hash__":393},"blogEn\u002Fblog\u002Fhow-to-maximize-vuejs-performance-4-proven-techniques-for-faster-web-apps.md","How to Maximize Vue.js Performance: 4 Proven Techniques for Faster Web Apps",{"name":51,"avatar":373},{"src":53,"alt":51},{"type":55,"value":375,"toc":376},[],{"title":163,"searchDepth":281,"depth":281,"links":377},[],"performance","2025-08-27","Web app performance is crucial to delivering a great user experience. When working with Vue.js, ensuring your application is fast, smooth, and responsive is key. Even a beautifully designed app can feel sluggish if it’s not properly optimized, leading to user frustration and disengagement.","https:\u002F\u002Fwww.monterail.com\u002Fblog\u002Fhow-to-maximize-vue-js-performance-proven-techniques",{"pl":383,"en":384,"self":298},"\u002Fblog\u002Fwydajnosc-vuejs-4-sprawdzone-techniki","\u002Fen\u002Fblog\u002Fhow-to-maximize-vuejs-performance-4-proven-techniques-for-faster-web-apps",{},"\u002Fblog\u002Fhow-to-maximize-vuejs-performance-4-proven-techniques-for-faster-web-apps",{"title":371,"description":380},{"loc":386,"lastmod":379},"blog\u002Fhow-to-maximize-vuejs-performance-4-proven-techniques-for-faster-web-apps","Four proven techniques that make Vue.js apps faster, smoother and more responsive to their users.",[366],"how-to-maximize-vuejs-performance-4-proven-techniques-for-faster-web-apps","B09zIVM9UM97Vs8hqu4HnYFfc2PeXfxifbZaNAuh9Qw",{"id":395,"title":396,"author":397,"body":399,"category":322,"cover":1163,"date":1164,"description":1165,"extension":293,"href":8,"image":8,"lede":8,"localeUrls":1166,"meta":1169,"minRead":527,"navigation":32,"path":1170,"seo":1171,"sitemap":1172,"source":8,"stem":1173,"summary":1174,"tags":1175,"talkBand":8,"translationKey":1177,"__hash__":1178},"blogEn\u002Fblog\u002Fwhen-to-use-composables-vs-provide-inject-in-vue3.md","When to Use Composables vs Provide\u002FInject in Vue 3",{"name":51,"avatar":398},{"src":53,"alt":51},{"type":55,"value":400,"toc":1147},[401,416,425,428,439,444,462,471,478,689,811,814,840,844,849,853,871,875,944,950,972,976,980,1015,1020,1040,1044,1076,1080,1094,1098,1126,1131,1143],[63,402,403,404,407,408,411,412,415],{},"Vue 3 introduced ",[73,405,406],{},"composables"," and ",[73,409,410],{},"provide\u002Finject",", two powerful patterns for managing state and logic. Both have their place, but choosing the right one at the right time can make your code more ",[73,413,414],{},"scalable, readable, and maintainable",".",[63,417,418,419,421,422],{},"In this article, I'll break down when to use ",[73,420,406],{}," and when to use ",[73,423,424],{},"provide\u002Finject.",[58,426,427],{"id":406},"Composables: the power of reusable logic",[63,429,430,431,434,435,438],{},"A ",[73,432,433],{},"composable"," is a function that encapsulates reusable logic using Vue's Composition API. It helps ",[73,436,437],{},"keep components clean"," by extracting logic into separate functions that can be used across multiple components.",[440,441,443],"h3",{"id":442},"when-to-use-composables","When to use composables",[67,445,446,449,456],{},[70,447,448],{},"You need to reuse logic in multiple components.",[70,450,451,452,455],{},"You're handling ",[73,453,454],{},"side effects"," (API calls, event listeners, etc.).",[70,457,458,459,415],{},"You want to keep your components ",[73,460,461],{},"small and focused",[440,463,465,466,470],{"id":464},"example-a-usefetch-composable","Example: A ",[467,468,469],"code",{},"useFetch"," composable",[63,472,473,474,477],{},"Let’s create a composable to ",[73,475,476],{},"fetch data from an API",":",[479,480,484],"pre",{"className":481,"code":482,"language":483,"meta":163,"style":163},"language-ts shiki shiki-themes github-dark","\u002F\u002F composables\u002Ffetch.ts\nexport function useFetch(url: string) {\n  const data = ref(null);\n  const error = ref(null);\n\n  const fetch = async () => {\n    try {\n      const res = await fetch(url);\n      data.value = await res.json();\n    } catch (err) {\n      error.value = err;\n    }\n  };\n  return { data, error, fetchData };\n}\n","ts",[467,485,486,495,525,548,566,572,594,602,620,640,652,663,669,675,684],{"__ignoreMap":163},[487,488,491],"span",{"class":489,"line":490},"line",1,[487,492,494],{"class":493},"sAwPA","\u002F\u002F composables\u002Ffetch.ts\n",[487,496,497,501,504,508,512,516,518,522],{"class":489,"line":281},[487,498,500],{"class":499},"snl16","export",[487,502,503],{"class":499}," function",[487,505,507],{"class":506},"svObZ"," useFetch",[487,509,511],{"class":510},"s95oV","(",[487,513,515],{"class":514},"s9osk","url",[487,517,477],{"class":499},[487,519,521],{"class":520},"sDLfK"," string",[487,523,524],{"class":510},") {\n",[487,526,528,531,534,537,540,542,545],{"class":489,"line":527},3,[487,529,530],{"class":499},"  const",[487,532,533],{"class":520}," data",[487,535,536],{"class":499}," =",[487,538,539],{"class":506}," ref",[487,541,511],{"class":510},[487,543,544],{"class":520},"null",[487,546,547],{"class":510},");\n",[487,549,551,553,556,558,560,562,564],{"class":489,"line":550},4,[487,552,530],{"class":499},[487,554,555],{"class":520}," error",[487,557,536],{"class":499},[487,559,539],{"class":506},[487,561,511],{"class":510},[487,563,544],{"class":520},[487,565,547],{"class":510},[487,567,569],{"class":489,"line":568},5,[487,570,571],{"emptyLinePlaceholder":32},"\n",[487,573,575,577,580,582,585,588,591],{"class":489,"line":574},6,[487,576,530],{"class":499},[487,578,579],{"class":506}," fetch",[487,581,536],{"class":499},[487,583,584],{"class":499}," async",[487,586,587],{"class":510}," () ",[487,589,590],{"class":499},"=>",[487,592,593],{"class":510}," {\n",[487,595,597,600],{"class":489,"line":596},7,[487,598,599],{"class":499},"    try",[487,601,593],{"class":510},[487,603,604,607,610,612,615,617],{"class":489,"line":300},[487,605,606],{"class":499},"      const",[487,608,609],{"class":520}," res",[487,611,536],{"class":499},[487,613,614],{"class":499}," await",[487,616,579],{"class":506},[487,618,619],{"class":510},"(url);\n",[487,621,623,626,629,631,634,637],{"class":489,"line":622},9,[487,624,625],{"class":510},"      data.value ",[487,627,628],{"class":499},"=",[487,630,614],{"class":499},[487,632,633],{"class":510}," res.",[487,635,636],{"class":506},"json",[487,638,639],{"class":510},"();\n",[487,641,643,646,649],{"class":489,"line":642},10,[487,644,645],{"class":510},"    } ",[487,647,648],{"class":499},"catch",[487,650,651],{"class":510}," (err) {\n",[487,653,655,658,660],{"class":489,"line":654},11,[487,656,657],{"class":510},"      error.value ",[487,659,628],{"class":499},[487,661,662],{"class":510}," err;\n",[487,664,666],{"class":489,"line":665},12,[487,667,668],{"class":510},"    }\n",[487,670,672],{"class":489,"line":671},13,[487,673,674],{"class":510},"  };\n",[487,676,678,681],{"class":489,"line":677},14,[487,679,680],{"class":499},"  return",[487,682,683],{"class":510}," { data, error, fetchData };\n",[487,685,686],{"class":489,"line":331},[487,687,688],{"class":510},"}\n",[479,690,693],{"className":691,"code":692,"language":322,"meta":163,"style":163},"language-vue shiki shiki-themes github-dark","\u002F\u002Fcomponents\u002FMyComponent.vue\n\u003Ctemplate>\n ...\n\u003C\u002Ftemplate>\n\u003Cscript setup lang=\"ts\">\nimport { useFetch } from '@\u002Fcomposables\u002FuseFetch';\n\nconst { data, error, fetch } = useFetch('https:\u002F\u002Fapi.example.com\u002Fposts');\n\u003C\u002Fscript>\n",[467,694,695,700,711,716,725,746,763,767,803],{"__ignoreMap":163},[487,696,697],{"class":489,"line":490},[487,698,699],{"class":510},"\u002F\u002Fcomponents\u002FMyComponent.vue\n",[487,701,702,705,708],{"class":489,"line":281},[487,703,704],{"class":510},"\u003C",[487,706,161],{"class":707},"s4JwU",[487,709,710],{"class":510},">\n",[487,712,713],{"class":489,"line":527},[487,714,715],{"class":510}," ...\n",[487,717,718,721,723],{"class":489,"line":550},[487,719,720],{"class":510},"\u003C\u002F",[487,722,161],{"class":707},[487,724,710],{"class":510},[487,726,727,729,732,735,738,740,744],{"class":489,"line":568},[487,728,704],{"class":510},[487,730,731],{"class":707},"script",[487,733,734],{"class":506}," setup",[487,736,737],{"class":506}," lang",[487,739,628],{"class":510},[487,741,743],{"class":742},"sU2Wk","\"ts\"",[487,745,710],{"class":510},[487,747,748,751,754,757,760],{"class":489,"line":574},[487,749,750],{"class":499},"import",[487,752,753],{"class":510}," { useFetch } ",[487,755,756],{"class":499},"from",[487,758,759],{"class":742}," '@\u002Fcomposables\u002FuseFetch'",[487,761,762],{"class":510},";\n",[487,764,765],{"class":489,"line":596},[487,766,571],{"emptyLinePlaceholder":32},[487,768,769,772,775,778,781,784,786,789,792,794,796,798,801],{"class":489,"line":300},[487,770,771],{"class":499},"const",[487,773,774],{"class":510}," { ",[487,776,777],{"class":520},"data",[487,779,780],{"class":510},", ",[487,782,783],{"class":520},"error",[487,785,780],{"class":510},[487,787,788],{"class":520},"fetch",[487,790,791],{"class":510}," } ",[487,793,628],{"class":499},[487,795,507],{"class":506},[487,797,511],{"class":510},[487,799,800],{"class":742},"'https:\u002F\u002Fapi.example.com\u002Fposts'",[487,802,547],{"class":510},[487,804,805,807,809],{"class":489,"line":622},[487,806,720],{"class":510},[487,808,731],{"class":707},[487,810,710],{"class":510},[63,812,813],{},"Another good examples can be found in:",[67,815,816,826,833],{},[70,817,818,819],{},"VueUse GitHub repo: ",[820,821,825],"a",{"href":822,"rel":823},"https:\u002F\u002Fgithub.com\u002Fvueuse\u002Fvueuse\u002Ftree\u002Fmain\u002Fpackages\u002Fcore",[824],"nofollow","Link",[70,827,828,829],{},"Vuetify GitHub repo: ",[820,830,825],{"href":831,"rel":832},"https:\u002F\u002Fgithub.com\u002Fvuetifyjs\u002Fvuetify\u002Ftree\u002Fmaster\u002Fpackages\u002Fvuetify\u002Fsrc\u002Fcomposables",[824],[70,834,835,836],{},"TanStack VueQuery GitHub repo: ",[820,837,825],{"href":838,"rel":839},"https:\u002F\u002Fgithub.com\u002FTanStack\u002Fquery\u002Ftree\u002Fmain\u002Fpackages\u002Fvue-query\u002Fsrc",[824],[58,841,843],{"id":842},"provide-inject","Provide\u002Finject: simplifying state sharing",[63,845,846,848],{},[467,847,410],{}," is Vue's dependency injection system. It allows you to pass state from a parent component to deeply nested components, avoiding prop drilling (passing props down multiple levels).",[440,850,852],{"id":851},"when-to-use-provideinject","When to use provide\u002Finject",[67,854,855,862,868],{},[70,856,857,858,861],{},"You need to ",[73,859,860],{},"share state"," across deeply nested components.",[70,863,864,865,415],{},"You want to ",[73,866,867],{},"avoid prop drilling",[70,869,870],{},"You need to provide global configurations (e.g., themes, authentication state).",[440,872,874],{"id":873},"example-pass-theme-to-deeply-nested-components","Example: Pass theme to deeply nested components",[479,876,878],{"className":481,"code":877,"language":483,"meta":163,"style":163},"\u002F\u002F Parent.vue (Providing the theme)\nprovide('theme', ref('dark'));\n\n\u002F\u002F Child.vue (Injecting the theme)\nconst theme = inject('theme', 'light'); \u002F\u002F Default to 'light' if no provider\n",[467,879,880,885,908,912,917],{"__ignoreMap":163},[487,881,882],{"class":489,"line":490},[487,883,884],{"class":493},"\u002F\u002F Parent.vue (Providing the theme)\n",[487,886,887,890,892,895,897,900,902,905],{"class":489,"line":281},[487,888,889],{"class":506},"provide",[487,891,511],{"class":510},[487,893,894],{"class":742},"'theme'",[487,896,780],{"class":510},[487,898,899],{"class":506},"ref",[487,901,511],{"class":510},[487,903,904],{"class":742},"'dark'",[487,906,907],{"class":510},"));\n",[487,909,910],{"class":489,"line":527},[487,911,571],{"emptyLinePlaceholder":32},[487,913,914],{"class":489,"line":550},[487,915,916],{"class":493},"\u002F\u002F Child.vue (Injecting the theme)\n",[487,918,919,921,924,926,929,931,933,935,938,941],{"class":489,"line":568},[487,920,771],{"class":499},[487,922,923],{"class":520}," theme",[487,925,536],{"class":499},[487,927,928],{"class":506}," inject",[487,930,511],{"class":510},[487,932,894],{"class":742},[487,934,780],{"class":510},[487,936,937],{"class":742},"'light'",[487,939,940],{"class":510},"); ",[487,942,943],{"class":493},"\u002F\u002F Default to 'light' if no provider\n",[63,945,946,947,949],{},"Another good examples can be found in (search for ",[73,948,889],{}," key):",[67,951,952,958,965],{},[70,953,828,954],{},[820,955,825],{"href":956,"rel":957},"https:\u002F\u002Fgithub.com\u002Fvuetifyjs\u002Fvuetify\u002Fblob\u002Fmaster\u002Fpackages\u002Fvuetify\u002Fsrc\u002Fframework.ts",[824],[70,959,960,961],{},"Vue i18n GitHub repo: ",[820,962,825],{"href":963,"rel":964},"https:\u002F\u002Fgithub.com\u002Fintlify\u002Fvue-i18n\u002Fblob\u002Fmaster\u002Fpackages\u002Fvue-i18n-core\u002Fsrc\u002Fi18n.ts",[824],[70,966,967,968],{},"Pinia GitHub repo: ",[820,969,825],{"href":970,"rel":971},"https:\u002F\u002Fgithub.com\u002Fvuejs\u002Fpinia\u002Fblob\u002Fv3\u002Fpackages\u002Fpinia\u002Fsrc\u002FcreatePinia.ts",[824],[58,973,975],{"id":974},"how-to-choose","Composables vs. provide\u002Finject: how to choose?",[440,977,979],{"id":978},"use-composables-when","Use composables when",[67,981,982,988,994,1000,1009],{},[70,983,984,987],{},[73,985,986],{},"You need to reuse logic across multiple components"," (e.g., fetching data, event listeners, form validation).",[70,989,990,993],{},[73,991,992],{},"You are handling side effects"," like API calls, local storage interactions, or WebSocket connections.",[70,995,996,999],{},[73,997,998],{},"You want to keep components lean"," by extracting complex logic into separate files.",[70,1001,1002,1005,1006,415],{},[73,1003,1004],{},"You need to keep the state local"," to a specific component tree, ",[73,1007,1008],{},"not globally shared",[70,1010,1011,1014],{},[73,1012,1013],{},"You want better testability"," – composables make it easier to isolate logic for unit testing.",[63,1016,1017],{},[73,1018,1019],{},"Example:",[67,1021,1022,1028,1034],{},[70,1023,1024,1025,1027],{},"Fetching data (",[467,1026,469],{},")",[70,1029,1030,1031,1027],{},"Detecting screen size (",[467,1032,1033],{},"useWindowSize",[70,1035,1036,1037,1027],{},"Debouncing user input (",[467,1038,1039],{},"useDebounce",[440,1041,1043],{"id":1042},"use-provideinject-when","Use provide\u002Finject when",[67,1045,1046,1052,1058,1064,1070],{},[70,1047,1048,1051],{},[73,1049,1050],{},"You need to share state between deeply nested components"," without prop drilling.",[70,1053,1054,1057],{},[73,1055,1056],{},"You have a single source of truth"," (e.g., a global theme or authentication).",[70,1059,1060,1063],{},[73,1061,1062],{},"You need to pass dependencies down the component tree",", such as configurations or event buses.",[70,1065,1066,1069],{},[73,1067,1068],{},"You don't need the state to be reactive globally",", just within a specific component tree.",[70,1071,1072,1075],{},[73,1073,1074],{},"You want to improve performance"," by avoiding excessive prop passing and reactivity.",[63,1077,1078],{},[73,1079,1019],{},[67,1081,1082,1088,1091],{},[70,1083,1084,1085,1027],{},"Providing a theme or locale (",[467,1086,1087],{},"provide('theme', ref('dark'))",[70,1089,1090],{},"Sharing form state between parent and child components",[70,1092,1093],{},"Dependency injection for plugins or services",[58,1095,1097],{"id":1096},"summary","Summary",[67,1099,1100,1113],{},[70,1101,1102,1105,1106,1109,1110,415],{},[73,1103,1104],{},"Use composables"," when you need ",[73,1107,1108],{},"reusable logic"," across multiple components, such as API calls, event listeners, or computed values. They help keep components ",[73,1111,1112],{},"clean, modular, and testable",[70,1114,1115,1118,1119,1121,1122,1125],{},[73,1116,1117],{},"Use provide\u002Finject"," when you need to ",[73,1120,860],{}," between deeply nested components, avoiding ",[73,1123,1124],{},"prop drilling",". It's great for passing global configs or themes within a specific component tree.",[63,1127,1128],{},[73,1129,1130],{},"How to choose?",[67,1132,1133,1138],{},[70,1134,1135],{},[73,1136,1137],{},"Reusable logic → Composables",[70,1139,1140],{},[73,1141,1142],{},"Deeply shared state → Provide\u002FInject",[1144,1145,1146],"style",{},"html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .s9osk, html code.shiki .s9osk{--shiki-default:#FFAB70}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}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 pre.shiki code .s4JwU, html code.shiki .s4JwU{--shiki-default:#85E89D}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}",{"title":163,"searchDepth":281,"depth":281,"links":1148},[1149,1154,1158,1162],{"id":406,"depth":281,"text":427,"children":1150},[1151,1152],{"id":442,"depth":527,"text":443},{"id":464,"depth":527,"text":1153},"Example: A useFetch composable",{"id":842,"depth":281,"text":843,"children":1155},[1156,1157],{"id":851,"depth":527,"text":852},{"id":873,"depth":527,"text":874},{"id":974,"depth":281,"text":975,"children":1159},[1160,1161],{"id":978,"depth":527,"text":979},{"id":1042,"depth":527,"text":1043},{"id":1096,"depth":281,"text":1097},"state","2025-04-07","Composables or provide\u002Finject? When to use each pattern in Vue 3 for reusable logic and shared state, with examples, and how to avoid prop drilling.",{"pl":1167,"en":1168,"self":298},"\u002Fblog\u002Fcomposables-czy-provide-inject-w-vue3","\u002Fen\u002Fblog\u002Fwhen-to-use-composables-vs-provide-inject-in-vue3",{},"\u002Fblog\u002Fwhen-to-use-composables-vs-provide-inject-in-vue3",{"title":396,"description":1165},{"loc":1170,"lastmod":1164},"blog\u002Fwhen-to-use-composables-vs-provide-inject-in-vue3","A practical comparison of two ways to manage state in Vue 3: when to choose which, and how to avoid passing props down many levels.",[1176],"State management","when-to-use-composables-vs-provide-inject-in-vue3","Sfq7kCmaaLzHQVQA82bamJsYHDEmxBzU3RQ9dnUArV4",{"id":1180,"title":1181,"author":1182,"body":1184,"category":322,"cover":1655,"date":1656,"description":1657,"extension":293,"href":8,"image":8,"lede":8,"localeUrls":1658,"meta":1661,"minRead":527,"navigation":32,"path":1662,"seo":1663,"sitemap":1664,"source":8,"stem":1665,"summary":1666,"tags":1667,"talkBand":8,"translationKey":1669,"__hash__":1670},"blogEn\u002Fblog\u002Fgetting-started-with-vue3-plugins-what-you-need-to-know.md","Getting Started with Vue 3 Plugins: What You Need to Know",{"name":51,"avatar":1183},{"src":53,"alt":51},{"type":55,"value":1185,"toc":1646},[1186,1189,1192,1196,1199,1230,1241,1245,1251,1255,1290,1294,1618,1622,1636,1640,1643],[63,1187,1188],{},"Have you ever wondered what Vue plugins are and how they can enhance your project or improve your skills as a Vue developer? If so, you're in the right place!",[63,1190,1191],{},"In this article, I’ll break it down so you will have clear view of how plugins can impact your project.",[58,1193,1195],{"id":1194},"when-vue-executes-plugins","When does vue execute plugins?",[63,1197,1198],{},"Before discussing performance and best practices, let's first understand how Vue 3 executes plugins:",[110,1200,1201,1207,1217,1227],{},[70,1202,1203,1204,415],{},"Vue initializes the app with ",[467,1205,1206],{},"createApp(App)",[70,1208,1209,1210,1213,1214],{},"Plugins are installed via ",[467,1211,1212],{},"app.use(plugin)",". 🚀 ",[154,1215,1216],{},"(This happens before rendering!)",[70,1218,1219,1222,1223,1226],{},[467,1220,1221],{},"App.vue"," is mounted, executing its ",[467,1224,1225],{},"setup()"," function.",[70,1228,1229],{},"Child components start rendering.",[63,1231,1232,1233,1236,1237,1240],{},"This means that if you use a ",[467,1234,1235],{},"provide()"," in App.vue to share functionalities or information for example about auth, it only becomes available ",[73,1238,1239],{},"after"," App.vue is mounted, whereas a plugin runs before rendering begins.",[440,1242,1244],{"id":1243},"why-does-this-matter","Why does this matter?",[63,1246,1247,1248,415],{},"If your app depends on globally available data (such as authentication state), a plugin ensures that data is available ",[73,1249,1250],{},"before rendering begins",[58,1252,1254],{"id":1253},"why-plugins","Why plugins are beneficial?",[110,1256,1257,1266,1274,1282],{},[70,1258,1259,1262,1265],{},[73,1260,1261],{},"Separation of Concerns = Better Optimization",[1263,1264],"br",{},"Keeping global logic (like auth, API clients, or an event bus) inside a plugin removes it from the UI rendering cycle, reducing unnecessary reactivity.",[70,1267,1268,1271,1273],{},[73,1269,1270],{},"Ensures Global State is Ready Before Rendering",[1263,1272],{},"For example, a theme management plugin ensures UI settings are loaded before the app starts rendering.",[70,1275,1276,1279,1281],{},[73,1277,1278],{},"Performance Optimization",[1263,1280],{},"Plugins reduce unnecessary reactivity overhead, unlike provide\u002Finject inside App.vue, which may trigger unwanted re-renders.",[70,1283,1284,1287,1289],{},[73,1285,1286],{},"Easier Scalability for Large Apps",[1263,1288],{},"As your app grows, keeping global logic inside plugins makes the code modular and easier to maintain. For example, a feature management plugin can dynamically enable or disable features.",[58,1291,1293],{"id":1292},"custom-plugin","Creating a custom Plugin",[479,1295,1297],{"className":481,"code":1296,"language":483,"meta":163,"style":163},"\u002F\u002F plugins\u002Fauth.ts\nimport { reactive, computed } from 'vue';\n\nexport default {\n  install(app) {\n\n    \u002F\u002F Define reactive authentication state\n    const authState = reactive({\n      user: null,\n      token: localStorage.getItem(\"token\") || null,\n    });\n    \n    \u002F\u002F Mock login function\n    const login = async (credentials) => {\n      authState.token = \"mocked-jwt-token\";\n      localStorage.setItem(\"token\", authState.token); \u002F\u002F Could use sessionStorage or cookies\n      authState.user = { id: 1, name: \"John Doe\" };\n    };\n\n    \u002F\u002F Provide computed properties for better performance\n    const auth = {\n      user: computed(() => authState.user),\n      token: computed(() => authState.token),\n      login,\n    };\n    \n    \u002F\u002F Provide authentication globally\n    app.provide(\"auth\", auth);\n    app.config.globalProperties.$auth = auth; \u002F\u002F Optional\n  }\n};\n",[467,1298,1299,1304,1318,1322,1331,1343,1347,1352,1368,1378,1402,1407,1412,1417,1440,1452,1471,1494,1500,1505,1511,1523,1539,1554,1560,1565,1570,1576,1592,1606,1612],{"__ignoreMap":163},[487,1300,1301],{"class":489,"line":490},[487,1302,1303],{"class":493},"\u002F\u002F plugins\u002Fauth.ts\n",[487,1305,1306,1308,1311,1313,1316],{"class":489,"line":281},[487,1307,750],{"class":499},[487,1309,1310],{"class":510}," { reactive, computed } ",[487,1312,756],{"class":499},[487,1314,1315],{"class":742}," 'vue'",[487,1317,762],{"class":510},[487,1319,1320],{"class":489,"line":527},[487,1321,571],{"emptyLinePlaceholder":32},[487,1323,1324,1326,1329],{"class":489,"line":550},[487,1325,500],{"class":499},[487,1327,1328],{"class":499}," default",[487,1330,593],{"class":510},[487,1332,1333,1336,1338,1341],{"class":489,"line":568},[487,1334,1335],{"class":506},"  install",[487,1337,511],{"class":510},[487,1339,1340],{"class":514},"app",[487,1342,524],{"class":510},[487,1344,1345],{"class":489,"line":574},[487,1346,571],{"emptyLinePlaceholder":32},[487,1348,1349],{"class":489,"line":596},[487,1350,1351],{"class":493},"    \u002F\u002F Define reactive authentication state\n",[487,1353,1354,1357,1360,1362,1365],{"class":489,"line":300},[487,1355,1356],{"class":499},"    const",[487,1358,1359],{"class":520}," authState",[487,1361,536],{"class":499},[487,1363,1364],{"class":506}," reactive",[487,1366,1367],{"class":510},"({\n",[487,1369,1370,1373,1375],{"class":489,"line":622},[487,1371,1372],{"class":510},"      user: ",[487,1374,544],{"class":520},[487,1376,1377],{"class":510},",\n",[487,1379,1380,1383,1386,1388,1391,1394,1397,1400],{"class":489,"line":642},[487,1381,1382],{"class":510},"      token: localStorage.",[487,1384,1385],{"class":506},"getItem",[487,1387,511],{"class":510},[487,1389,1390],{"class":742},"\"token\"",[487,1392,1393],{"class":510},") ",[487,1395,1396],{"class":499},"||",[487,1398,1399],{"class":520}," null",[487,1401,1377],{"class":510},[487,1403,1404],{"class":489,"line":654},[487,1405,1406],{"class":510},"    });\n",[487,1408,1409],{"class":489,"line":665},[487,1410,1411],{"class":510},"    \n",[487,1413,1414],{"class":489,"line":671},[487,1415,1416],{"class":493},"    \u002F\u002F Mock login function\n",[487,1418,1419,1421,1424,1426,1428,1431,1434,1436,1438],{"class":489,"line":677},[487,1420,1356],{"class":499},[487,1422,1423],{"class":506}," login",[487,1425,536],{"class":499},[487,1427,584],{"class":499},[487,1429,1430],{"class":510}," (",[487,1432,1433],{"class":514},"credentials",[487,1435,1393],{"class":510},[487,1437,590],{"class":499},[487,1439,593],{"class":510},[487,1441,1442,1445,1447,1450],{"class":489,"line":331},[487,1443,1444],{"class":510},"      authState.token ",[487,1446,628],{"class":499},[487,1448,1449],{"class":742}," \"mocked-jwt-token\"",[487,1451,762],{"class":510},[487,1453,1455,1458,1461,1463,1465,1468],{"class":489,"line":1454},16,[487,1456,1457],{"class":510},"      localStorage.",[487,1459,1460],{"class":506},"setItem",[487,1462,511],{"class":510},[487,1464,1390],{"class":742},[487,1466,1467],{"class":510},", authState.token); ",[487,1469,1470],{"class":493},"\u002F\u002F Could use sessionStorage or cookies\n",[487,1472,1474,1477,1479,1482,1485,1488,1491],{"class":489,"line":1473},17,[487,1475,1476],{"class":510},"      authState.user ",[487,1478,628],{"class":499},[487,1480,1481],{"class":510}," { id: ",[487,1483,1484],{"class":520},"1",[487,1486,1487],{"class":510},", name: ",[487,1489,1490],{"class":742},"\"John Doe\"",[487,1492,1493],{"class":510}," };\n",[487,1495,1497],{"class":489,"line":1496},18,[487,1498,1499],{"class":510},"    };\n",[487,1501,1503],{"class":489,"line":1502},19,[487,1504,571],{"emptyLinePlaceholder":32},[487,1506,1508],{"class":489,"line":1507},20,[487,1509,1510],{"class":493},"    \u002F\u002F Provide computed properties for better performance\n",[487,1512,1514,1516,1519,1521],{"class":489,"line":1513},21,[487,1515,1356],{"class":499},[487,1517,1518],{"class":520}," auth",[487,1520,536],{"class":499},[487,1522,593],{"class":510},[487,1524,1526,1528,1531,1534,1536],{"class":489,"line":1525},22,[487,1527,1372],{"class":510},[487,1529,1530],{"class":506},"computed",[487,1532,1533],{"class":510},"(() ",[487,1535,590],{"class":499},[487,1537,1538],{"class":510}," authState.user),\n",[487,1540,1542,1545,1547,1549,1551],{"class":489,"line":1541},23,[487,1543,1544],{"class":510},"      token: ",[487,1546,1530],{"class":506},[487,1548,1533],{"class":510},[487,1550,590],{"class":499},[487,1552,1553],{"class":510}," authState.token),\n",[487,1555,1557],{"class":489,"line":1556},24,[487,1558,1559],{"class":510},"      login,\n",[487,1561,1563],{"class":489,"line":1562},25,[487,1564,1499],{"class":510},[487,1566,1568],{"class":489,"line":1567},26,[487,1569,1411],{"class":510},[487,1571,1573],{"class":489,"line":1572},27,[487,1574,1575],{"class":493},"    \u002F\u002F Provide authentication globally\n",[487,1577,1579,1582,1584,1586,1589],{"class":489,"line":1578},28,[487,1580,1581],{"class":510},"    app.",[487,1583,889],{"class":506},[487,1585,511],{"class":510},[487,1587,1588],{"class":742},"\"auth\"",[487,1590,1591],{"class":510},", auth);\n",[487,1593,1595,1598,1600,1603],{"class":489,"line":1594},29,[487,1596,1597],{"class":510},"    app.config.globalProperties.$auth ",[487,1599,628],{"class":499},[487,1601,1602],{"class":510}," auth; ",[487,1604,1605],{"class":493},"\u002F\u002F Optional\n",[487,1607,1609],{"class":489,"line":1608},30,[487,1610,1611],{"class":510},"  }\n",[487,1613,1615],{"class":489,"line":1614},31,[487,1616,1617],{"class":510},"};\n",[58,1619,1621],{"id":1620},"when-to-create","When to create custom plugins?",[67,1623,1624,1627,1630,1633],{},[70,1625,1626],{},"You need global dependencies such as authentication, API clients, event bus, or theme management.",[70,1628,1629],{},"You need access to certain data before rendering begins.",[70,1631,1632],{},"You are using Server-Side Rendering (SSR).",[70,1634,1635],{},"You want better scalability and reusability.",[58,1637,1639],{"id":1638},"final-thoughts","Final thoughts",[63,1641,1642],{},"Vue plugins are a powerful way to enhance your application's architecture by keeping global logic modular, improving performance, and ensuring critical dependencies are available before rendering. Whether you're managing authentication, API clients, or theme settings, using plugins can make your codebase more scalable and maintainable.",[1144,1644,1645],{},"html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html pre.shiki code .s9osk, html code.shiki .s9osk{--shiki-default:#FFAB70}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}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);}",{"title":163,"searchDepth":281,"depth":281,"links":1647},[1648,1651,1652,1653,1654],{"id":1194,"depth":281,"text":1195,"children":1649},[1650],{"id":1243,"depth":527,"text":1244},{"id":1253,"depth":281,"text":1254},{"id":1292,"depth":281,"text":1293},{"id":1620,"depth":281,"text":1621},{"id":1638,"depth":281,"text":1639},"plugins","2025-03-31","What Vue 3 plugins are, when Vue runs them, why they help with performance and global state, and how to write a custom authentication plugin.",{"pl":1659,"en":1660,"self":298},"\u002Fblog\u002Fpluginy-w-vue3-od-czego-zaczac","\u002Fen\u002Fblog\u002Fgetting-started-with-vue3-plugins-what-you-need-to-know",{},"\u002Fblog\u002Fgetting-started-with-vue3-plugins-what-you-need-to-know",{"title":1181,"description":1657},{"loc":1662,"lastmod":1656},"blog\u002Fgetting-started-with-vue3-plugins-what-you-need-to-know","Vue 3 plugin architecture: the plugin lifecycle, performance optimisation and managing global state in large applications.",[1668],"Plugins","getting-started-with-vue3-plugins-what-you-need-to-know","1DzPSO7KR7nhlYXZoOBB3tK3IKmvANa7v-c3kszOVKU",1796040772422]