[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$KiqIp5Qu8t":3,"vue-tips-list":52,"popularArticles-\u002Fvue-tips":1340,"list-sidebar-latest-blog":1346},{"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",[53,65,76,87,97,107,117,127,137,148,160,170,180,190,201,211,221,231,241,251,261,272,283,293,303,313,323,333,343,353,363,373,385,392,402,412,422,432,443,453,463,470,480,490,500,510,520,530,540,550,560,570,580,590,601,611,621,631,641,652,662,672,679,689,696,706,716,726,736,746,756,766,777,787,794,804,811,818,829,839,846,857,867,877,887,897,907,914,924,934,944,954,965,972,982,992,1002,1012,1022,1032,1042,1052,1062,1072,1082,1089,1096,1106,1116,1126,1136,1146,1156,1167,1178,1188,1195,1205,1215,1225,1235,1242,1249,1256,1266,1276,1286,1296,1306,1316,1323,1330],{"path":54,"title":55,"description":56,"date":57,"categories":58,"readingTime":60},"\u002Fvue-tips\u002Fdifference-between-use-fetch-and-event-fetch","Nuxt Tip: Difference Between useFetch and event.$fetch","Understand the key distinction between useFetch and event.$fetch in Nuxt. Learn why using event.$fetch for server-side API calls is the recommended approach for better performance and SSR correctness.","2026-05-16",[59],"nuxt",{"text":61,"minutes":62,"time":63,"words":64},"2 min read",1.915,114900,383,{"path":66,"title":67,"description":68,"date":69,"categories":70,"readingTime":72},"\u002Fvue-tips\u002Finfer-props-from-component-map","Vue Tip: Infer Props From Components in a Component Map","Use a typed entry helper to infer props from each component in a component map. This is useful when rendering dynamic blocks from CMS or configuration data.","2026-03-27",[71],"script",{"text":61,"minutes":73,"time":74,"words":75},1.55,93000,310,{"path":77,"title":78,"description":79,"date":80,"categories":81,"readingTime":82},"\u002Fvue-tips\u002Faccessing-pinia-store-in-nuxt-production-build","Nuxt Tip: Accessing Pinia Store in Production Build","A concise guide on how to access your Pinia store within a Nuxt production build.","2025-08-15",[59],{"text":83,"minutes":84,"time":85,"words":86},"1 min read",0.255,15300,51,{"path":88,"title":89,"description":90,"date":91,"categories":92,"readingTime":93},"\u002Fvue-tips\u002Fmanaging-page-load-states-in-nuxt-with-use-loading-indicator","Nuxt Tip: Managing Page Load States With useLoadingIndicator","Learn how to use the useLoadingIndicator composable in Nuxt to access and manage the loading state of your app's pages. Improve user experience by displaying loading indicators and handling transitions seamlessly.","2025-01-30",[59],{"text":83,"minutes":94,"time":95,"words":96},0.885,53100,177,{"path":98,"title":99,"description":100,"date":101,"categories":102,"readingTime":103},"\u002Fvue-tips\u002Fuse-effect-scope-for-managing-and-cleaning-up-reactive-effects","Vue Tip: Use effectScope for Managing and Cleaning Up Reactive Effects","effectScope can be used to group and cleanup multiple reactive effects.","2025-01-24",[71],{"text":61,"minutes":104,"time":105,"words":106},1.51,90600,302,{"path":108,"title":109,"description":110,"date":111,"categories":112,"readingTime":113},"\u002Fvue-tips\u002Fnuxt-parallel-fetch-requests","Nuxt Tip: Parallel Fetch Requests","Learn to wield useAsyncData along with Promise.all() to load data faster with parallel requests in your Nuxt application.","2025-01-05",[59],{"text":61,"minutes":114,"time":115,"words":116},1.01,60600,202,{"path":118,"title":119,"description":120,"date":121,"categories":122,"readingTime":123},"\u002Fvue-tips\u002Fnuxt-fetch-data-on-the-server-before-app-start","Nuxt Tip: Fetch Data on the Server Before App Start","Learn how to pre-fetch data on the server before app start in Nuxt 3+ to improve load times and user experience.","2024-10-30",[59],{"text":83,"minutes":124,"time":125,"words":126},0.85,51000,170,{"path":128,"title":129,"description":130,"date":131,"categories":132,"readingTime":133},"\u002Fvue-tips\u002Fvalidate-data-in-your-nuxt-server-routes","Nuxt Tip: Validate Data in Your Server Routes","Ensure that your data are valid and safe in your Nuxt server routes before processing them.","2024-08-14",[59],{"text":61,"minutes":134,"time":135,"words":136},1.875,112500,375,{"path":138,"title":139,"description":140,"date":141,"categories":142,"readingTime":144},"\u002Fvue-tips\u002Fsimple-routing-without-using-external-libraries","Vue Tip: Simple Routing Without Using External Libraries","If you want to keep things simple and avoid adding extra dependencies, you can implement basic routing functionality in Vue.js without using external libraries like Vue Router.","2024-07-27",[143],"router",{"text":83,"minutes":145,"time":146,"words":147},0.77,46200,154,{"path":149,"title":150,"description":151,"date":152,"categories":153,"readingTime":156},"\u002Fvue-tips\u002Fcache-component-instances-with-the-keep-alive-component","Vue Tip: Cache Component Instances With the KeepAlive Component","KeepAlive is a built-in Vue component that allows you to conditionally cache component instances when dynamically switching between multiple components.","2024-06-19",[154,155],"template","performance",{"text":61,"minutes":157,"time":158,"words":159},1.445,86700,289,{"path":161,"title":162,"description":163,"date":164,"categories":165,"readingTime":166},"\u002Fvue-tips\u002Fchange-status-code-of-the-response","Nuxt Tip: Change Status Code of the Response","`setResponseStatus` is a Nuxt composable to set the status code and (and optionally the status message) of the response.","2024-06-13",[59],{"text":83,"minutes":167,"time":168,"words":169},0.95,57000,190,{"path":171,"title":172,"description":173,"date":174,"categories":175,"readingTime":176},"\u002Fvue-tips\u002Fnuxt-run-code-once-during-ssr-or-csr","Nuxt Tip: Run Code Once During SSR or CSR","Since Nuxt 3.9 you can use the useOnce composable to run a given function or block of code once during server-side rendering or client-side navigation.","2024-06-01",[59],{"text":83,"minutes":177,"time":178,"words":179},0.61,36600,122,{"path":181,"title":182,"description":183,"date":184,"categories":185,"readingTime":186},"\u002Fvue-tips\u002Fhow-i-write-class-and-style-bindings","Vue Tip: How I Write Class & Style Bindings","Styling your components in Vue.js can be done in multiple ways. One of the most common ways is to use the class attribute, especially if you are using a CSS framework like Tailwind. In combination with v-bind you can dynamically assign classes to your components.","2024-05-30",[154],{"text":61,"minutes":187,"time":188,"words":189},1.115,66900,223,{"path":191,"title":192,"description":193,"date":194,"categories":195,"readingTime":197},"\u002Fvue-tips\u002Fwhen-you-should-use-a-composable","Vue Tip: When You Should Use a Composable","Vue composables are a way to encapsulate logic in a reusable way in Vue 3. They are a great way to share logic between components, but I often see them used in places where they are not needed.","2024-05-23",[71,196],"composables",{"text":61,"minutes":198,"time":199,"words":200},1.465,87900,293,{"path":202,"title":203,"description":204,"date":205,"categories":206,"readingTime":207},"\u002Fvue-tips\u002Fmutate-your-state-inside-of-the-provider-using-provide-and-inject","Vue Tip: Mutate Your State Inside of the Provider Using Provide and Inject","When using reactive provide\u002Finject values, it is recommended to keep any mutations to reactive state inside of the provider whenever possible.","2024-05-03",[71],{"text":61,"minutes":208,"time":209,"words":210},1.735,104100,347,{"path":212,"title":213,"description":214,"date":215,"categories":216,"readingTime":217},"\u002Fvue-tips\u002Fshare-styling-using-wrapper-components","Vue Tip: Share Styling Using Wrapper Components","Wrapper components can help you share styling across multiple Vue components. This can make your code cleaner and more maintainable.","2024-04-11",[154],{"text":83,"minutes":218,"time":219,"words":220},0.645,38700,129,{"path":222,"title":223,"description":224,"date":225,"categories":226,"readingTime":227},"\u002Fvue-tips\u002Fuse-environment-specific-nuxt-configurations","Nuxt Tip: Use Environment-Specific Configurations","It sometimes happens that you need to have different configurations for different environments in your Nuxt.js application. Therefore, Nuxt provides fully typed, per-environment overrides for your Nuxt configuration.","2024-04-03",[59],{"text":61,"minutes":228,"time":229,"words":230},1.06,63600,212,{"path":232,"title":233,"description":234,"date":235,"categories":236,"readingTime":237},"\u002Fvue-tips\u002Fvalidate-props-in-script-setup-with-type-script","Vue Tip: Validate Props in Script Setup With TypeScript","For prop validations inside `\u003Cscript setup>` with TypeScript you need to define an interface for the props and use the `withDefaults` helper to set default values.","2024-03-21",[71],{"text":61,"minutes":238,"time":239,"words":240},1.515,90900,303,{"path":242,"title":243,"description":244,"date":245,"categories":246,"readingTime":247},"\u002Fvue-tips\u002Fhow-nuxt-uses-nitro-h3-and-ofetch-internally","Nuxt Tip: How Nuxt Uses Nitro, h3 and ofetch Internally","Nitro, h3 and ofetch are UnJS packages that are used to power the Nuxt 3 server engine.","2024-03-01",[59],{"text":61,"minutes":248,"time":249,"words":250},1.09,65400,218,{"path":252,"title":253,"description":254,"date":255,"categories":256,"readingTime":257},"\u002Fvue-tips\u002Fdont-use-reactive-object-for-template-refs","Vue Tip: Don't Use Reactive Object for Template Refs","Template Refs are a way to access elements in the DOM from within a Vue component. As the name suggests, you should use a ref to access the element in the template.","2024-02-22",[154,71],{"text":83,"minutes":258,"time":259,"words":260},0.97,58200,194,{"path":262,"title":263,"description":264,"date":265,"categories":266,"readingTime":268},"\u002Fvue-tips\u002Ftrigger-transition-programmatically","Vue Tip: Trigger Transition Programmatically","You can programmatically trigger a transition via the \"key\" attribute.","2024-02-13",[71,267],"animations",{"text":83,"minutes":269,"time":270,"words":271},0.795,47700,159,{"path":273,"title":274,"description":275,"date":276,"categories":277,"readingTime":279},"\u002Fvue-tips\u002Fpassing-slots-to-child-components","Vue Tip: Passing Slots to Child Components","In certain scenarios, you need to pass on all slots from a parent component to the child component.","2024-01-27",[154,278],"slots",{"text":83,"minutes":280,"time":281,"words":282},0.75,45000,150,{"path":284,"title":285,"description":286,"date":287,"categories":288,"readingTime":289},"\u002Fvue-tips\u002Fnuxt-cancel-fetch-api-request","Nuxt Tip: Cancel Fetch API Request","In Nuxt 3, you can use the `signal` parameter with the globally available `$fetch` helper to cancel an API request.","2024-01-13",[59],{"text":83,"minutes":290,"time":291,"words":292},0.445,26700,89,{"path":294,"title":295,"description":296,"date":297,"categories":298,"readingTime":299},"\u002Fvue-tips\u002Fcheck-if-component-has-event-listener-attached","Vue Tip: Check if Component Has Event Listener Attached","Sometimes, you want to apply specific styles to a  component only if it has an event listener attached.","2024-01-11",[154,71],{"text":83,"minutes":300,"time":301,"words":302},0.665,39900,133,{"path":304,"title":305,"description":306,"date":307,"categories":308,"readingTime":309},"\u002Fvue-tips\u002Fwatch-slot-changes","Vue Tip: Watch Slot Changes","You can use the MutationObserver API to react to changes in the slot content.","2024-01-05",[154,71,278],{"text":61,"minutes":310,"time":311,"words":312},1.08,64800,216,{"path":314,"title":315,"description":316,"date":317,"categories":318,"readingTime":319},"\u002Fvue-tips\u002Fnuxt-handle-client-side-errors","Nuxt Tip: Handle Client-Side Errors","Nuxt provides the NuxtErrorBoundary component to handle client-side errors.","2023-12-19",[59],{"text":61,"minutes":320,"time":321,"words":322},1.045,62700,209,{"path":324,"title":325,"description":326,"date":327,"categories":328,"readingTime":329},"\u002Fvue-tips\u002Fbest-way-to-force-re-render-vue-component","Vue Tip: Best Way to Force Re-Render Vue Component","In certain scenarios, Vue's reactivity approach isn’t sufficient, and we need to force re-rendering of specific components.","2023-12-15",[71,154],{"text":83,"minutes":330,"time":331,"words":332},0.84,50400,168,{"path":334,"title":335,"description":336,"date":337,"categories":338,"readingTime":339},"\u002Fvue-tips\u002Fdocument-your-component-props-using-js-doc","Vue Tip: Document Your Component Props Using JSDoc","You can use JSDoc to document your component props so that they show up when you hover over the component in your IDE.","2023-12-14",[71],{"text":83,"minutes":340,"time":341,"words":342},0.56,33600,112,{"path":344,"title":345,"description":346,"date":347,"categories":348,"readingTime":349},"\u002Fvue-tips\u002Fcomposable-to-define-keyboard-shortcuts","Vue Tip: Composable to Define Keyboard Shortcuts","I show you a handy Vue composable that allows you to define keyboard shortcuts in your app.","2023-12-07",[71,196],{"text":83,"minutes":350,"time":351,"words":352},0.825,49500,165,{"path":354,"title":355,"description":356,"date":357,"categories":358,"readingTime":359},"\u002Fvue-tips\u002Fuse-a-head-manager","Vue Tip: Use a Head Manager","Unhead is a framework-agnostic document head manager that can be used to manage page metadata like the title in your Vue application.","2023-12-02",[71],{"text":83,"minutes":360,"time":361,"words":362},0.73,43800,146,{"path":364,"title":365,"description":366,"date":367,"categories":368,"readingTime":369},"\u002Fvue-tips\u002Fautomatically-import-components","Vue Tip: Automatically Import Components","Use the unplugin-vue-components tool to automatically import your Vue components.","2023-11-23",[71],{"text":83,"minutes":370,"time":371,"words":372},0.7,42000,140,{"path":374,"title":375,"description":376,"date":377,"categories":378,"readingTime":381},"\u002Fvue-tips\u002Fsimple-pinia-history-with-undo-and-redo-functionality","Pinia Tip: Simple History With Undo and Redo Functionality","Build a simple history with undo and redo functionality using the useRefHistory composable from VueUse.","2023-11-10",[379,380],"pinia","state",{"text":61,"minutes":382,"time":383,"words":384},1.095,65700,219,{"path":386,"title":387,"description":388,"date":389,"categories":390,"readingTime":391},"\u002Fvue-tips\u002Faccessing-template-ref-in-child-component","Vue Tip: Accessing Template Ref in Child Component","Learn how to access template refs in a child component within a Vue.js application, enabling you to manipulate and interact with specific elements in the child component's template from the parent component.","2023-10-27",[154,71],{"text":83,"minutes":370,"time":371,"words":372},{"path":393,"title":394,"description":395,"date":396,"categories":397,"readingTime":398},"\u002Fvue-tips\u002Fhow-to-fix-nuxt-instance-unavailable-error-in-nuxt","Nuxt Tip: How to Fix \"Nuxt Instance Unavailable\" Error","If you are using Nuxt 3, you probably already encountered the 'Nuxt Instance Unavailable' error. What is it, and how to fix it?","2023-10-12",[59],{"text":61,"minutes":399,"time":400,"words":401},1.12,67200,224,{"path":403,"title":404,"description":405,"date":406,"categories":407,"readingTime":408},"\u002Fvue-tips\u002Fdynamic-slot-names","Vue Tip: Dynamic Slot Names","Dynamic directive arguments also work on v-slot, allowing the definition of dynamic slot names.","2023-10-07",[154],{"text":83,"minutes":409,"time":410,"words":411},0.74,44400,148,{"path":413,"title":414,"description":415,"date":416,"categories":417,"readingTime":418},"\u002Fvue-tips\u002Fdetecting-server-vs-client-side-code-execution-in-nuxt","Nuxt Tip: Detecting Server vs. Client-Side Code Execution","Nuxt 3 provides a way to detect whether your code is running on the server or client-side.","2023-09-29",[59],{"text":83,"minutes":419,"time":420,"words":421},0.62,37200,124,{"path":423,"title":424,"description":425,"date":426,"categories":427,"readingTime":428},"\u002Fvue-tips\u002Fevent-handling","Vue Tip: Event Handling","There are different ways how to handle events in Vue. Let's take a look at them.","2023-09-23",[154,71],{"text":61,"minutes":429,"time":430,"words":431},1.485,89100,297,{"path":433,"title":434,"description":435,"date":436,"categories":437,"readingTime":438},"\u002Fvue-tips\u002Fuse-your-composables-synchronously","Vue Tip: Use Your Composables Synchronously","You should always call your composables synchronously in setup() hook or \u003Cscript setup>. Otherwise Vue will not be able to determine the current active component instance and cannot correctly register features like lifecycle hooks, watchers, and computed properties.","2023-09-16",[71,196],{"text":439,"minutes":440,"time":441,"words":442},"3 min read",2.335,140100,467,{"path":444,"title":445,"description":446,"date":447,"categories":448,"readingTime":449},"\u002Fvue-tips\u002Fcustom-spa-loading-template-for-your-nuxt-application","Nuxt Tip: Custom SPA Loading Template for Your Nuxt Application","When using the client-side rendering mode, Nuxt will display a loading indicator until the application is hydrated. The loading indicator is a simple spinner. You can customize the loading indicator by creating a custom loading component.","2023-09-15",[59],{"text":61,"minutes":450,"time":451,"words":452},1.345,80700,269,{"path":454,"title":455,"description":456,"date":457,"categories":458,"readingTime":459},"\u002Fvue-tips\u002Fdeep-watch-on-arrays","Vue Tip: Deep Watch on Arrays","In Vue 3, when using the watch option to watch an array, the callback will only trigger when the array is replaced. To trigger the watcher on mutation, the deep option must be specified.","2023-09-11",[71],{"text":83,"minutes":460,"time":461,"words":462},0.975,58500,195,{"path":464,"title":465,"description":466,"date":467,"categories":468,"readingTime":469},"\u002Fvue-tips\u002Fan-url-object-working-on-both-server-side-and-client-side","Nuxt Tip: An URL Object Working on Both Server-Side and Client-Side","Nuxt provides a helper function called useRequestURL that returns an URL object working on both server side and client side.","2023-09-02",[59],{"text":83,"minutes":330,"time":331,"words":332},{"path":471,"title":472,"description":473,"date":474,"categories":475,"readingTime":476},"\u002Fvue-tips\u002Fsimple-state-management-with-composition-api","Vue Tip: Simple State Management With Composition API","Learn how you can use Composition API for a simple state management solution which you can use instead of Pinia.","2023-08-18",[71,196],{"text":61,"minutes":477,"time":478,"words":479},1.595,95700,319,{"path":481,"title":482,"description":483,"date":484,"categories":485,"readingTime":486},"\u002Fvue-tips\u002Fmanually-stop-watcher","Vue Tip: Manually Stop Watcher","You need to manually stop your Vue watcher if they are created asynchronously. Sync watchers are automatically stopped when the component is unmounted.","2023-08-04",[71],{"text":61,"minutes":487,"time":488,"words":489},1.215,72900,243,{"path":491,"title":492,"description":493,"date":494,"categories":495,"readingTime":496},"\u002Fvue-tips\u002Fdynamic-return-values-in-composables","Vue Tip: Dynamic Return Values in Composables","FIXME","2023-07-27",[196],{"text":83,"minutes":497,"time":498,"words":499},1.005,60300,201,{"path":501,"title":502,"description":503,"date":504,"categories":505,"readingTime":506},"\u002Fvue-tips\u002Fuse-vue-use-to-unleash-the-power-of-utility-functions","Vue Tip: Use VueUse to Unleash the Power of Utility Functions","VueUse is a collection of hundreds of essential Vue Composition Utilities for interacting with various browsers, sensors, animations, and state APIs, and more.","2023-07-26",[71,196],{"text":83,"minutes":507,"time":508,"words":509},0.845,50700,169,{"path":511,"title":512,"description":513,"date":514,"categories":515,"readingTime":516},"\u002Fvue-tips\u002Femit-event-from-composable","Vue Tip: Emit Event From Composable","Your application may contain a lot of components that are using the same logic, like emitting the same event. In this case, it might be tempting to create a composable that will emit this event and is used in all components. But how do you emit an event from inside a composable?","2023-07-22",[71,196],{"text":439,"minutes":517,"time":518,"words":519},2.26,135600,452,{"path":521,"title":522,"description":523,"date":524,"categories":525,"readingTime":526},"\u002Fvue-tips\u002Fsplit-your-sfc-into-multiple-files","Vue Tip: Split Your SFC into Multiple Files","Use the 'src' attribute to import an external file for a language block in your Vue Single-File Components (SFC).","2023-07-12",[154,71],{"text":83,"minutes":527,"time":528,"words":529},0.92,55200,184,{"path":531,"title":532,"description":533,"date":534,"categories":535,"readingTime":536},"\u002Fvue-tips\u002Fdifferentiate-client-and-server-components-in-nuxt","Nuxt Tip: Differentiate Client and Server Components","Nuxt allows you to define client-side and standalone server components ","2023-07-05",[59],{"text":61,"minutes":537,"time":538,"words":539},1.025,61500,205,{"path":541,"title":542,"description":543,"date":544,"categories":545,"readingTime":546},"\u002Fvue-tips\u002Fuse-eager-computed-without-lazy-evaluation","Vue Tip: Use Eager Computed Without Lazy Evaluation","Computed properties are evaluated lazily which means they are only evaluated when they are accessed. The computedEager() from VueUse is a good alternative for simple operations.","2023-06-28",[71,155],{"text":61,"minutes":547,"time":548,"words":549},1.45,87000,290,{"path":551,"title":552,"description":553,"date":554,"categories":555,"readingTime":556},"\u002Fvue-tips\u002Flazy-load-components-in-nuxt-3","Nuxt Tip: Lazy Load Components in Nuxt 3","Learn how you can dynamically import components in Nuxt 3 only when they’re needed.","2023-06-23",[59],{"text":83,"minutes":557,"time":558,"words":559},0.51,30600,102,{"path":561,"title":562,"description":563,"date":564,"categories":565,"readingTime":566},"\u002Fvue-tips\u002Fdont-use-v-if-with-v-for","Vue Tip: Don't Use v-if With v-for","It can be tempting to combine v-if with v-for but you should avoid it as it will throw an error.","2023-06-16",[154],{"text":61,"minutes":567,"time":568,"words":569},1.69,101400,338,{"path":571,"title":572,"description":573,"date":574,"categories":575,"readingTime":576},"\u002Fvue-tips\u002Fdetect-mouse-hover","Vue Tip: Detect Mouse Hover","You can use Vue event handlers to detect mouse hover events.","2023-06-07",[154],{"text":83,"minutes":577,"time":578,"words":579},0.945,56700,189,{"path":581,"title":582,"description":583,"date":584,"categories":585,"readingTime":586},"\u002Fvue-tips\u002Fadd-custom-iframe-tab-to-nuxt-dev-tools","Nuxt Tip: Add Custom iframe Tab to Nuxt DevTools","Nuxt DevTools is designed to be extensible. You can add your own modules' integration to the DevTools.","2023-06-01",[59],{"text":61,"minutes":587,"time":588,"words":589},1.04,62400,208,{"path":591,"title":592,"description":593,"date":594,"categories":595,"readingTime":597},"\u002Fvue-tips\u002Fdebug-watcher","Vue Tip: Debug Watcher","You can debug watchers by passing a third options object with onTrack and onTrigger callbacks.","2023-05-23",[71,596],"debugging",{"text":83,"minutes":598,"time":599,"words":600},0.505,30300,101,{"path":602,"title":603,"description":604,"date":605,"categories":606,"readingTime":607},"\u002Fvue-tips\u002Fnuxt-move-homepage-to-sub-folder","Nuxt Tip: Move Homepage to Sub-Folder in Nuxt 3","Use the path property in the page's definePageMeta to move the homepage to a sub-folder in Nuxt 3.","2023-05-18",[59],{"text":83,"minutes":608,"time":609,"words":610},0.52,31200,104,{"path":612,"title":613,"description":614,"date":615,"categories":616,"readingTime":617},"\u002Fvue-tips\u002Fchaining-event-modifiers","Vue Tip: Chaining Event Modifiers","By chaining multiple event modifiers together, you can create sophisticated event handling scenarios with ease.","2023-05-04",[154],{"text":83,"minutes":618,"time":619,"words":620},0.905,54300,181,{"path":622,"title":623,"description":624,"date":625,"categories":626,"readingTime":627},"\u002Fvue-tips\u002Feffortless-handle-asynchronous-components-with-suspense","Vue Tip: Effortless Handle Asynchronous Components With Suspense","Suspense components are used to display fallback content when waiting for some sort of asynchronous component to resolve.","2023-04-28",[154,71],{"text":61,"minutes":628,"time":629,"words":630},1.785,107100,357,{"path":632,"title":633,"description":634,"date":635,"categories":636,"readingTime":637},"\u002Fvue-tips\u002Fnuxt-use-nuxt-layers-to-share-components-utils-and-configuration-between-your-apps","Nuxt Tip: Use Nuxt Layers to Share Components, Utils, and Configuration Between Your Apps","One of the core features of Nuxt 3 is the layers and extending support. You can extend a default Nuxt application to reuse components, utils, and configuration.","2023-04-19",[59],{"text":61,"minutes":638,"time":639,"words":640},1.52,91200,304,{"path":642,"title":643,"description":644,"date":645,"categories":646,"readingTime":648},"\u002Fvue-tips\u002Fdeclare-and-mutate-v-model-props-as-normal-variable-using-define-models","Vue Tip: Declare and Mutate v-model Props as Normal Variable Using defineModel","Declaring and mutate v-model props as the same as normal variable using the defineModel.","2023-04-09",[71,647],"v-model",{"text":61,"minutes":649,"time":650,"words":651},1.765,105900,353,{"path":653,"title":654,"description":655,"date":656,"categories":657,"readingTime":658},"\u002Fvue-tips\u002Foptimize-performance-using-shallow-ref","Vue Tip: Optimize Performance Using shallowRef","shallowRef() is typically used for performance optimizations of large data structures, or integration with external state management systems.","2023-04-07",[71,155],{"text":61,"minutes":659,"time":660,"words":661},1.235,74100,247,{"path":663,"title":664,"description":665,"date":666,"categories":667,"readingTime":668},"\u002Fvue-tips\u002Fnuxt-render-component-only-on-client-side","Nuxt Tip: Render Component Only on Client-Side","By default, Nuxt uses universal (client-side + server-side) rendering to render your application. The ClientOnly component can be used torender its slot only in client-side.","2023-04-05",[59],{"text":83,"minutes":669,"time":670,"words":671},0.72,43200,144,{"path":673,"title":674,"description":675,"date":676,"categories":677,"readingTime":678},"\u002Fvue-tips\u002Fvalidate-events-and-prop-types","Vue Tip: Validate Events and Prop Types","You can validate prop types and events in Vue. If a requirement is not met, Vue will warn you in the browser's JavaScript console.","2023-03-28",[71],{"text":61,"minutes":320,"time":321,"words":322},{"path":680,"title":681,"description":682,"date":683,"categories":684,"readingTime":685},"\u002Fvue-tips\u002Fnuxt-refresh-data-in-nuxt-3-by-watching-sources-using-use-async-data","Nuxt Tip: Refresh Data by Watching Sources Using useAsyncData","Nuxt 3's useAsyncData() composable can be used within your pages, components, and plugins to get access to data that resolves asynchronously. It can also be used to refresh the data loaded from the API based on the user's action. (pagination, filtering results, searching, etc.)","2023-03-22",[59],{"text":61,"minutes":686,"time":687,"words":688},1.15,69000,230,{"path":690,"title":691,"description":692,"date":693,"categories":694,"readingTime":695},"\u002Fvue-tips\u002Fwhen-to-use-render-function","Vue Tip: When to Use Render Function","When should I use a render function in Vue.js? We’re going to cover some advanced Vue.js patterns when you need to use render functions.","2023-03-15",[154,71],{"text":61,"minutes":248,"time":249,"words":250},{"path":697,"title":698,"description":699,"date":700,"categories":701,"readingTime":702},"\u002Fvue-tips\u002Fnuxt-rendering-modes","Nuxt Tip: Rendering Modes","Nuxt 3 provides plenty of options for rendering. There are SSG, SSR, Universal, SPA, ISG, or mix it up per route with hybrid rendering.","2023-03-06",[59],{"text":439,"minutes":703,"time":704,"words":705},2.46,147600,492,{"path":707,"title":708,"description":709,"date":710,"categories":711,"readingTime":712},"\u002Fvue-tips\u002Fdebugging-in-templates","Vue Tip: Debugging in Templates","Guide to debug Vue component templates using the Browser DevTools.","2023-02-16",[154,596],{"text":83,"minutes":713,"time":714,"words":715},0.915,54900,183,{"path":717,"title":718,"description":719,"date":720,"categories":721,"readingTime":722},"\u002Fvue-tips\u002Fuse-scoped-slots-in-a-child-component-to-provide-data-for-parent-component","Vue Tip: Use Scoped Slots in a Child Component to Provide Data for Parent Component","A Scoped Slot in a child component can provide data for presentation in the parent component using a slot.","2023-02-15",[278],{"text":61,"minutes":723,"time":724,"words":725},1.265,75900,253,{"path":727,"title":728,"description":729,"date":730,"categories":731,"readingTime":732},"\u002Fvue-tips\u002Fnuxt-use-dev-tools-to-know-your-app-better","Nuxt Tip: Use DevTools to Know Your App Better","Nuxt DevTools is a set of visual tools that help you to know your app better. ","2023-02-14",[59],{"text":61,"minutes":733,"time":734,"words":735},1.325,79500,265,{"path":737,"title":738,"description":739,"date":740,"categories":741,"readingTime":742},"\u002Fvue-tips\u002Fre-rendering-vue-routes-when-path-parameters-change","Vue Tip: Re-Rendering Vue Routes When Path Parameters Change","In SPA that uses the Vue Router, it’s common to create a path parameter that changes the behavior of a route.","2023-02-06",[143],{"text":439,"minutes":743,"time":744,"words":745},2.385,143100,477,{"path":747,"title":748,"description":749,"date":750,"categories":751,"readingTime":752},"\u002Fvue-tips\u002Fdestructure-props-in-composition-api-without-losing-reactivity","Vue Tip: Destructure Props in Composition API Without Losing Reactivity","How to correctly destructure props object in a Vue component while maintaining the reactivity.","2023-01-26",[71],{"text":61,"minutes":753,"time":754,"words":755},1.38,82800,276,{"path":757,"title":758,"description":759,"date":760,"categories":761,"readingTime":762},"\u002Fvue-tips\u002Fnuxt-analyse-production-bundle","Nuxt Tip: Analyse Production Bundle","Nuxi analyze is an experimental feature that builds your Nuxt app and analyses the production bundle.","2023-01-23",[59],{"text":83,"minutes":763,"time":764,"words":765},0.49,29400,98,{"path":767,"title":768,"description":769,"date":770,"categories":771,"readingTime":773},"\u002Fvue-tips\u002Fpinia-use-setup-stores-for-more-flexibility","Pinia Tip: Use Setup Stores for More Flexibility","Besides Option Stores you can also use Setup Stores to define stores in Pinia. They bring more flexibility as you can create watchers within a store and freely use any composable.","2023-01-20",[379,772],"store",{"text":61,"minutes":774,"time":775,"words":776},1.315,78900,263,{"path":778,"title":779,"description":780,"date":781,"categories":782,"readingTime":783},"\u002Fvue-tips\u002Fnuxt-adding-a-latest-route","Nuxt Tip: Adding a Latest Route","Utilizing Nuxt Middleware, you can implement an easy way for visitors to always read the latest blog posts (or any other content) without needing to know its name or specific URL.","2023-01-11",[59],{"text":83,"minutes":784,"time":785,"words":786},0.675,40500,135,{"path":788,"title":789,"description":790,"date":791,"categories":792,"readingTime":793},"\u002Fvue-tips\u002Ftyping-component-events","Vue Tip: Typing Component Events","To declare emits with full type inference support, we can use the defineEmits API, which is automatically available inside \u003Cscript setup>.","2023-01-09",[71],{"text":83,"minutes":409,"time":410,"words":411},{"path":795,"title":796,"description":797,"date":798,"categories":799,"readingTime":800},"\u002Fvue-tips\u002Fdynamically-change-page-title","Vue Tip: Dynamically Change Page Title","I will show you a few ways how you can easily change the page title when navigating your application","2023-01-07",[143],{"text":439,"minutes":801,"time":802,"words":803},2.065,123900,413,{"path":805,"title":806,"description":807,"date":808,"categories":809,"readingTime":810},"\u002Fvue-tips\u002Faccess-dom-in-watcher-callback-after-vue-updated-it","Vue Tip: Access DOM in Watcher Callback After Vue Updated It","To access the DOM after Vue has updated it in a watcher callback, you can use the flush post option.'","2023-01-02",[71],{"text":83,"minutes":218,"time":219,"words":220},{"path":812,"title":813,"description":814,"date":815,"categories":816,"readingTime":817},"\u002Fvue-tips\u002Fpass-custom-arguments-to-event-handler-method","Vue Tip: Pass Custom Arguments to Event Handler Method","Sometimes we need to pass custom arguments to the event handler method and access the original DOM event.","2022-12-26",[71],{"text":83,"minutes":784,"time":785,"words":786},{"path":819,"title":820,"description":821,"date":822,"categories":823,"readingTime":824},"\u002Fvue-tips\u002Favoid-mutating-a-prop-directly","Vue Tip: Avoid Mutating a Prop Directly","Mutating props is an anti-pattern. You should use computed properties instead.","2022-12-13",[154,71],{"text":825,"minutes":826,"time":827,"words":828},"4 min read",3.905,234300,781,{"path":830,"title":831,"description":832,"date":833,"categories":834,"readingTime":835},"\u002Fvue-tips\u002Fdisable-attribute-inheritance","Vue Tip: Disable Attribute Inheritance","By default, parent scope attribute bindings that are not recognized as props will \"fallthrough\". This may not always be the desired behavior and, therefore, can be disabled. A typical use case is a component with multiple root nodes.","2022-12-10",[154,71],{"text":61,"minutes":836,"time":837,"words":838},1.065,63900,213,{"path":840,"title":841,"description":842,"date":843,"categories":844,"readingTime":845},"\u002Fvue-tips\u002Fdynamically-add-and-remove-route-while-app-is-running","Vue Tip: Dynamically Add & Remove Route While App Is Running","Adding routes to your router is usually done via the `routes` option, but in some situations, you might want to add or remove routes while the application is already running.","2022-12-06",[143],{"text":61,"minutes":320,"time":321,"words":322},{"path":847,"title":848,"description":849,"date":850,"categories":851,"readingTime":853},"\u002Fvue-tips\u002Fforce-enable-vue-devtools-in-production-build","Vue Tip: Force-Enable Vue Devtools in Production Build","Usually, the Vue Devtool extension is disabled in production builds, but there is a way to force-enable it.","2022-11-29",[852],"devtools",{"text":61,"minutes":854,"time":855,"words":856},1.26,75600,252,{"path":858,"title":859,"description":860,"date":861,"categories":862,"readingTime":863},"\u002Fvue-tips\u002Fuse-provide-inject-to-avoid-prop-drilling","Vue Tip: Use Provide & Inject to Avoid Prop Drilling","Props are the standard way to pass data from the parent to a child component. Sometimes, we want to share data from a parent component to all its children components without using a store. Provide \u002F Inject solves this problem and avoids prop drilling.","2022-11-22",[71],{"text":61,"minutes":864,"time":865,"words":866},1.745,104700,349,{"path":868,"title":869,"description":870,"date":871,"categories":872,"readingTime":873},"\u002Fvue-tips\u002Fchange-the-interpolation-delimiter","Vue Tip: Change the Interpolation Delimiter","It is possible to adjust the delimiters used for text interpolation within the template to avoid conflicting with server-side frameworks that also use mustache syntax.","2022-11-17",[154],{"text":83,"minutes":874,"time":875,"words":876},0.765,45900,153,{"path":878,"title":879,"description":880,"date":881,"categories":882,"readingTime":883},"\u002Fvue-tips\u002Fuse-vue-without-build-step","Vue Tip: Use Vue Without Build Step","When using Vue from a CDN, no \"build step\" is involved. This makes the setup much more straightforward and is suitable for enhancing static HTML or integrating with a backend framework.","2022-11-08",[154,71],{"text":61,"minutes":884,"time":885,"words":886},1.1,66000,220,{"path":888,"title":889,"description":890,"date":891,"categories":892,"readingTime":893},"\u002Fvue-tips\u002Fdefining-and-registering-vue-web-components","Vue Tip: Defining and Registering Vue Web Components","Web Components is an umbrella term for a set of web native APIs that allows developers to create reusable custom elements. Vue has excellent support for both consuming and creating custom elements.","2022-11-04",[154,71],{"text":61,"minutes":894,"time":895,"words":896},1.135,68100,227,{"path":898,"title":899,"description":900,"date":901,"categories":902,"readingTime":903},"\u002Fvue-tips\u002Fshare-composable-state-across-components","Vue Tip: Share Composable State Across Components","It is possible to sync composable state across components by lifting its definition outside the exported function.","2022-10-28",[196],{"text":61,"minutes":904,"time":905,"words":906},1.075,64500,215,{"path":908,"title":909,"description":910,"date":911,"categories":912,"readingTime":913},"\u002Fvue-tips\u002Fexpose-properties-in-a-script-setup-component","Vue Tip: Expose Properties in a Script Setup Component","Components using script setup are closed by default and will not expose any of the bindings declared inside script setup.","2022-10-08",[154,71],{"text":83,"minutes":419,"time":420,"words":421},{"path":915,"title":916,"description":917,"date":918,"categories":919,"readingTime":920},"\u002Fvue-tips\u002Fexpose-slots-from-a-child-component","Vue Tip: Expose Slots From a Child Component ","Third-party components are often wrapped in a custom component. But in that way, the slots of the third-party component get lost.","2022-10-01",[154,278],{"text":83,"minutes":921,"time":922,"words":923},0.64,38400,128,{"path":925,"title":926,"description":927,"date":928,"categories":929,"readingTime":930},"\u002Fvue-tips\u002Flifecycle-hooks-for-debugging","Vue Tip: Lifecycle Hooks for Debugging","Vue provides two lifecycle hooks that we can use for debugging purposes.","2022-09-26",[71,596],{"text":83,"minutes":931,"time":932,"words":933},0.575,34500,115,{"path":935,"title":936,"description":937,"date":938,"categories":939,"readingTime":940},"\u002Fvue-tips\u002Ftyping-template-refs-with-type-script","Vue Tip: Typing Template Refs With TypeScript","Template refs only exist after the component is mounted. Thus, it’s necessary to type template refs with a union type that includes the DOM element type as well as null.","2022-09-03",[154,71],{"text":61,"minutes":941,"time":942,"words":943},1.055,63300,211,{"path":945,"title":946,"description":947,"date":948,"categories":949,"readingTime":950},"\u002Fvue-tips\u002Favoid-side-effects-in-computed-properties","Vue Tip: Avoid Side Effects in Computed Properties","It is considered bad practice to introduce side effects inside computed properties and functions because it makes the code unpredictable and hard to understand.","2022-08-25",[71],{"text":61,"minutes":951,"time":952,"words":953},1.035,62100,207,{"path":955,"title":956,"description":957,"date":958,"categories":959,"readingTime":961},"\u002Fvue-tips\u002Ftest-vue-components-using-vue-testing-library","Vue Tip: Test Vue Components Using Vue Testing Library","Vue Testing Library is my preferred Vue.js testing library that encourages good testing practices.","2022-08-19",[960],"testing",{"text":61,"minutes":962,"time":963,"words":964},1.5,90000,300,{"path":966,"title":967,"description":968,"date":969,"categories":970,"readingTime":971},"\u002Fvue-tips\u002Fcreating-a-custom-directive","Vue Tip: Creating a Custom Directive","In addition to the default set of directives like v-model or v-show, you can also register your own custom directives.","2022-08-13",[154],{"text":61,"minutes":477,"time":478,"words":479},{"path":973,"title":974,"description":975,"date":976,"categories":977,"readingTime":978},"\u002Fvue-tips\u002Favoid-directly-dom-manipulation","Vue Tip: Avoid Directly DOM Manipulation","It is a no-go to manipulate the DOM in Vue.js directly. Instead, you should use the \"ref\" attribute.","2022-08-10",[154,71],{"text":83,"minutes":979,"time":980,"words":981},0.98,58800,196,{"path":983,"title":984,"description":985,"date":986,"categories":987,"readingTime":988},"\u002Fvue-tips\u002Fuse-vue-app-instance-as-global-store","Vue Tip: Use Vue App Instance as Global Store","Vue provides an object that can be used to register global properties that can be accessed on any component instance inside the application.","2022-07-25",[154,71],{"text":83,"minutes":989,"time":990,"words":991},0.5,30000,100,{"path":993,"title":994,"description":995,"date":996,"categories":997,"readingTime":998},"\u002Fvue-tips\u002Fwhen-to-use-v-if","Vue Tip: When to Use v-if","v-if has higher toggle costs while v-show has higher initial render costs.","2022-07-20",[154],{"text":83,"minutes":999,"time":1000,"words":1001},0.335,20100,67,{"path":1003,"title":1004,"description":1005,"date":1006,"categories":1007,"readingTime":1008},"\u002Fvue-tips\u002Favoid-empty-wrapper-for-conditions","Vue Tip: Avoid Empty Wrapper for Conditions","There are many situations when you need to conditionally display multiple Vue components. To avoid \"empty\" wrappers you should use not use HTML tags.","2022-07-14",[154],{"text":83,"minutes":1009,"time":1010,"words":1011},0.35,21000,70,{"path":1013,"title":1014,"description":1015,"date":1016,"categories":1017,"readingTime":1018},"\u002Fvue-tips\u002Fdelay-loading-appearance-of-spinner","Vue Tip: Delay Loading Appearance of Spinner","Eager delay spinners are not a good user experience. They can make a snappy user interface feel slower. We want delay spinners to appear only after a perceivable delay.","2022-07-12",[154,71],{"text":61,"minutes":1019,"time":1020,"words":1021},1.22,73200,244,{"path":1023,"title":1024,"description":1025,"date":1026,"categories":1027,"readingTime":1028},"\u002Fvue-tips\u002Fcheck-if-slot-is-empty","Vue Tip: Check if Slot Is Empty","You can check if a slot is empty, for example, only to render it if it has content.","2022-07-06",[154,71,278],{"text":439,"minutes":1029,"time":1030,"words":1031},2.17,130200,434,{"path":1033,"title":1034,"description":1035,"date":1036,"categories":1037,"readingTime":1038},"\u002Fvue-tips\u002Fmemoize-a-sub-tree-of-the-template-using-v-memo","Vue Tip: Memoize a Sub-Tree of the Template Using v-memo","The v-memo directive is like a computed prop for the template.","2022-06-29",[154],{"text":83,"minutes":1039,"time":1040,"words":1041},0.3,18000,60,{"path":1043,"title":1044,"description":1045,"date":1046,"categories":1047,"readingTime":1048},"\u002Fvue-tips\u002Fwatch-vs-watch-effect","Vue Tip: watch() vs. watchEffect()","Understand the difference between the watch() and watchEffect() Vue hooks.","2022-06-22",[71],{"text":83,"minutes":1049,"time":1050,"words":1051},0.565,33900,113,{"path":1053,"title":1054,"description":1055,"date":1056,"categories":1057,"readingTime":1058},"\u002Fvue-tips\u002Fuse-fallthrough-attributes","Vue Tip: Use Fallthrough Attributes","A 'fallthrough attribute' is an attribute or v-on event listener that is passed to a component, but is not explicitly declared in the receiving component's props or emits. Common examples of this include class, style, and id attributes.","2022-06-15",[154],{"text":61,"minutes":1059,"time":1060,"words":1061},1.76,105600,352,{"path":1063,"title":1064,"description":1065,"date":1066,"categories":1067,"readingTime":1068},"\u002Fvue-tips\u002Fprovide-fallback-content-for-slots","Vue Tip: Provide Fallback Content for Slots","There are cases when it's useful to specify fallback (i.e. default) content for a slot, to be rendered only when no content is provided.","2022-06-08",[154],{"text":83,"minutes":1069,"time":1070,"words":1071},0.355,21300,71,{"path":1073,"title":1074,"description":1075,"date":1076,"categories":1077,"readingTime":1078},"\u002Fvue-tips\u002Fdebug-computed-properties","Vue Tip: Debug Computed Properties","We can debug properties by passing computed() a second options object.","2022-06-01",[71,596],{"text":83,"minutes":1079,"time":1080,"words":1081},0.545,32700,109,{"path":1083,"title":1084,"description":1085,"date":1086,"categories":1087,"readingTime":1088},"\u002Fvue-tips\u002Fuse-lazy-v-model-to-sync-state-after-change-events","Vue Tip: Use Lazy v-model to Sync State After Change Events","By default, v-model syncs with the state of the Vue instance on every input event. The .lazy modifier syncs after change events.","2022-05-22",[647],{"text":83,"minutes":763,"time":764,"words":765},{"path":1090,"title":1091,"description":1092,"date":1093,"categories":1094,"readingTime":1095},"\u002Fvue-tips\u002Fcreate-custom-v-model-modifier","Vue Tip: Create Custom v-model Modifier","v-model has some built-in modifiers, but in some cases, you might need to add your custom modifier.","2022-05-11",[647],{"text":83,"minutes":874,"time":875,"words":876},{"path":1097,"title":1098,"description":1099,"date":1100,"categories":1101,"readingTime":1102},"\u002Fvue-tips\u002Fquery-inner-elements-in-third-party-components","Vue Tip: Query Inner Elements in Third-Party Components","In some cases, we have to deal with third-party Vue components where we cannot put a ref on inner HTML elements to access them in our Vue code.","2022-04-21",[71],{"text":83,"minutes":1103,"time":1104,"words":1105},0.395,23700,79,{"path":1107,"title":1108,"description":1109,"date":1110,"categories":1111,"readingTime":1112},"\u002Fvue-tips\u002Fcheck-version-at-runtime","Vue Tip: Check Version at Runtime","You can easily check the Vue version at runtime.","2022-04-10",[71],{"text":83,"minutes":1113,"time":1114,"words":1115},0.205,12300,41,{"path":1117,"title":1118,"description":1119,"date":1120,"categories":1121,"readingTime":1122},"\u002Fvue-tips\u002Fmeasure-performance","Vue Tip: Measure Performance","Learn some tools to measure the performance of your Vue application.","2022-04-04",[155],{"text":83,"minutes":1123,"time":1124,"words":1125},0.555,33300,111,{"path":1127,"title":1128,"description":1129,"date":1130,"categories":1131,"readingTime":1132},"\u002Fvue-tips\u002Fanimate-child-component-before-route-leave","Vue Tip: Animate Child Component Before Route Leave","Vue Router provides a way to use transitions on route components and animate the navigations. But sometimes, you might want to animate a specific (sub-)component before a route is left.","2022-03-25",[143,267],{"text":61,"minutes":1133,"time":1134,"words":1135},1.2,72000,240,{"path":1137,"title":1138,"description":1139,"date":1140,"categories":1141,"readingTime":1142},"\u002Fvue-tips\u002Fpassing-data-to-a-component-with-props-using-v-bind","Vue Tip: Use v-bind to Pass Multiple Props to Components","Instead of passing each property individually to a component, you can bind an object to it.","2022-03-18",[71],{"text":83,"minutes":1143,"time":1144,"words":1145},0.54,32400,108,{"path":1147,"title":1148,"description":1149,"date":1150,"categories":1151,"readingTime":1152},"\u002Fvue-tips\u002Fwatch-nested-values","Vue Tip: Watch Nested Values","The watch options support a dot-delimited path as key to watch nested values.","2022-03-11",[71],{"text":83,"minutes":1153,"time":1154,"words":1155},0.455,27300,91,{"path":1157,"title":1158,"description":1159,"date":1160,"categories":1161,"readingTime":1163},"\u002Fvue-tips\u002Fuse-vuex-in-vue-router-navigation-guards","Vue Tip: Use Vuex in Vue Router Navigation Guards","It's possible to use Vuex state to determine if a user is allowed to visit certain Vue Router routes.","2022-03-04",[1162],"vuex",{"text":83,"minutes":1164,"time":1165,"words":1166},0.935,56100,187,{"path":1168,"title":1169,"description":1170,"date":1171,"categories":1172,"readingTime":1174},"\u002Fvue-tips\u002Fspecial-css-selectors","Vue Tip: Special CSS Selectors","Vue provides some special CSS pseudo-selectors you can use in your Vue SFC.","2022-02-25",[1173],"style",{"text":83,"minutes":1175,"time":1176,"words":1177},0.71,42600,142,{"path":1179,"title":1180,"description":1181,"date":1182,"categories":1183,"readingTime":1184},"\u002Fvue-tips\u002Fuse-optional-chaining-in-templates","Vue Tip: Use Optional Chaining in Templates","It's possible to use optional chaining in Vue templates.","2022-02-19",[154],{"text":83,"minutes":1185,"time":1186,"words":1187},0.475,28500,95,{"path":1189,"title":1190,"description":1191,"date":1192,"categories":1193,"readingTime":1194},"\u002Fvue-tips\u002Fuse-two-script-blocks","Vue Tip: Use Two Script Blocks ","\u003Cscript setup> can be used alongside normal \u003Cscript>. A normal \u003Cscript> may be needed in special cases.","2022-02-14",[71],{"text":83,"minutes":124,"time":125,"words":126},{"path":1196,"title":1197,"description":1198,"date":1199,"categories":1200,"readingTime":1201},"\u002Fvue-tips\u002Fspeed-up-initial-load-using-async-components","Vue Tip: Speed Up Initial Load Using Async Components","Using async components is a great way to speed up the initial load time of your app.","2022-02-04",[155],{"text":83,"minutes":1202,"time":1203,"words":1204},0.48,28800,96,{"path":1206,"title":1207,"description":1208,"date":1209,"categories":1210,"readingTime":1211},"\u002Fvue-tips\u002Fscroll-to-top-when-navigating-to-a-new-route","Vue Tip: Scroll to Top When Navigating to a New Route","When using client-side routing, we may want to scroll to top when navigating to a new route, or preserve the scrolling position of history entries just like real page reload does.","2022-01-28",[143],{"text":83,"minutes":1212,"time":1213,"words":1214},0.69,41400,138,{"path":1216,"title":1217,"description":1218,"date":1219,"categories":1220,"readingTime":1221},"\u002Fvue-tips\u002Fdisplay-raw-html","Vue Tip: Display Raw HTML","The double mustaches interpret the data as plain text, not HTML. To output real HTML, you will need to use the v-html directive.","2022-01-24",[154],{"text":83,"minutes":1222,"time":1223,"words":1224},0.79,47400,158,{"path":1226,"title":1227,"description":1228,"date":1229,"categories":1230,"readingTime":1231},"\u002Fvue-tips\u002Fautomatic-global-registration-of-base-components","Vue Tip: Automatic Global Registration of Base Components","We can use webpack to register our Vue.js base components globally.","2022-01-14",[71],{"text":61,"minutes":1232,"time":1233,"words":1234},1.17,70200,234,{"path":1236,"title":1237,"description":1238,"date":1239,"categories":1240,"readingTime":1241},"\u002Fvue-tips\u002Fuse-teleport-to-render-a-component-in-a-different-place","Vue Tip: Use Teleport to Render a Component in a Different Place","With teleport, you can render a component in a different place in the DOM tree, even if this place is not in your app's scope.","2022-01-09",[154],{"text":83,"minutes":269,"time":270,"words":271},{"path":1243,"title":1244,"description":1245,"date":1246,"categories":1247,"readingTime":1248},"\u002Fvue-tips\u002Fassign-handler-for-uncaught-errors","Vue Tip: Assign Handler for Uncaught Errors","Error monitoring is important in production, and we can use the errorHandler function to send errors to error tracking services.","2021-12-15",[71],{"text":83,"minutes":1123,"time":1124,"words":1125},{"path":1250,"title":1251,"description":1252,"date":1253,"categories":1254,"readingTime":1255},"\u002Fvue-tips\u002Fsimple-expressions-in-templates","Vue Tip: Simple Expressions in Templates","Vue component templates should only include simple expressions, with more complex expressions refactored into computed properties or methods.","2021-12-10",[154],{"text":83,"minutes":608,"time":609,"words":610},{"path":1257,"title":1258,"description":1259,"date":1260,"categories":1261,"readingTime":1262},"\u002Fvue-tips\u002Ftrigger-watcher-immediately","Vue Tip: Trigger Watcher Immediately","The watch hook provides an option that the callback is called immediately.","2021-12-02",[71],{"text":83,"minutes":1263,"time":1264,"words":1265},0.375,22500,75,{"path":1267,"title":1268,"description":1269,"date":1270,"categories":1271,"readingTime":1272},"\u002Fvue-tips\u002Fuse-multiple-v-model-bindings","Vue Tip: Use Multiple v-model Bindings","Sometimes Vue.js components need to have multiple v-model bindings.","2021-11-25",[647],{"text":83,"minutes":1273,"time":1274,"words":1275},0.605,36300,121,{"path":1277,"title":1278,"description":1279,"date":1280,"categories":1281,"readingTime":1282},"\u002Fvue-tips\u002Fv-once","Vue Tip: Avoid Unwanted Re-Renders of an Element Using v-once","The v-once directive is a Vue.js directive used to avoid unwanted re-renders of an element.","2021-11-21",[154],{"text":83,"minutes":1283,"time":1284,"words":1285},0.43,25800,86,{"path":1287,"title":1288,"description":1289,"date":1290,"categories":1291,"readingTime":1292},"\u002Fvue-tips\u002Fdestructure-in-v-for","Vue Tip: Destructure in v-for","It is possible to use ES6 destructuring in a v-for in Vue","2021-11-16",[154],{"text":83,"minutes":1293,"time":1294,"words":1295},0.365,21900,73,{"path":1297,"title":1298,"description":1299,"date":1300,"categories":1301,"readingTime":1302},"\u002Fvue-tips\u002Favoid-empty-class-attributes","Vue Tip: Avoid Empty Class Attributes","This Vue tip helps to avoid empty class attributes in the rendered HTML","2021-11-14",[1173],{"text":83,"minutes":1303,"time":1304,"words":1305},0.405,24300,81,{"path":1307,"title":1308,"description":1309,"date":1310,"categories":1311,"readingTime":1312},"\u002Fvue-tips\u002Fprops-and-context-in-setup-method","Vue Tip: Props and Context in Setup Method","Access props and context in setup method using Composition API in Vue 3","2021-11-13",[71],{"text":83,"minutes":1313,"time":1314,"words":1315},0.985,59100,197,{"path":1317,"title":1318,"description":1319,"date":1320,"categories":1321,"readingTime":1322},"\u002Fvue-tips\u002Fdetailed-props","Vue Tip: Detailed Prop Definitions","Define your Vue prop definitions as detailed as possible.","2021-11-12",[71],{"text":83,"minutes":1263,"time":1264,"words":1265},{"path":1324,"title":1325,"description":1326,"date":1327,"categories":1328,"readingTime":1329},"\u002Fvue-tips\u002Freactive-values-in-css","Vue Tip: Reactive Values in CSS","In Vue 3, it is possible to use reactive values in CSS.","2021-11-11",[1173],{"text":83,"minutes":1263,"time":1264,"words":1265},{"path":1331,"title":1332,"description":1333,"date":1334,"categories":1335,"readingTime":1336},"\u002Fvue-tips\u002Fprefer-slots-over-props","Vue Tip: Prefer Slots Over Props","Prefer slots over props as they give the parent the freedom to customize components.","2021-11-10",[154],{"text":83,"minutes":1337,"time":1338,"words":1339},0.76,45600,152,[1341,1342,1343,1344,1345],{"label":848,"to":847},{"label":1024,"to":1023},{"label":796,"to":795},{"label":414,"to":413},{"label":738,"to":737},[1347,1351,1355],{"path":1348,"title":1349,"date":1350},"\u002Fblog\u002Fhow-to-setup-an-mcp-server-for-an-existing-nuxt-app","How to Set Up an MCP Server for an Existing Nuxt App","2026-07-28",{"path":1352,"title":1353,"date":1354},"\u002Fblog\u002Fvue-state-management-composables-provide-inject-pinia","Navigating State Management in Vue: Composables, Provide\u002FInject, and Pinia","2025-11-17",{"path":1356,"title":1357,"date":1358},"\u002Fblog\u002Fwhy-i-switched-back-from-vscode-to-intellij-idea","Why I Switched Back From VS Code to IntelliJ IDEA: A Developer's Journey","2025-09-14"]