Mar 18, 2022Vue Tip: Use v-bind to Pass Multiple Props to ComponentsInstead of passing each property individually to a component, you can bind an object to it.
Mar 11, 2022Vue Tip: Watch Nested ValuesThe watch options support a dot-delimited path as key to watch nested values.
Feb 14, 2022Vue Tip: Use Two Script Blocks <script setup> can be used alongside normal <script>. A normal <script> may be needed in special cases.
Jan 14, 2022Vue Tip: Automatic Global Registration of Base ComponentsWe can use webpack to register our Vue.js base components globally.
Dec 15, 2021Vue Tip: Assign Handler for Uncaught ErrorsError monitoring is important in production, and we can use the errorHandler function to send errors to error tracking services.
Dec 2, 2021Vue Tip: Trigger Watcher ImmediatelyThe watch hook provides an option that the callback is called immediately.
Nov 13, 2021Vue Tip: Props and Context in Setup MethodAccess props and context in setup method using Composition API in Vue 3
Nov 12, 2021Vue Tip: Detailed Prop DefinitionsDefine your Vue prop definitions as detailed as possible.