Published inLearn VuePiniaWhen you want to declare a state and use it across all components, you can use Pinia, a state management framework for Vue.Feb 13Feb 13
Published inLearn VueStyle BindingsTo dynamically control CSS styles, we can use style binding.Jan 8Jan 8
Published inLearn VueClass BindingsIn Vue, we can use class binding to dynamically add a CSS class based on conditions.Jan 7Jan 7
Published inLearn VueEmitsTo pass data from a child component to a parent component, we can use emits.Jan 7Jan 7
Published inLearn VueComponent PropsTo pass data from a parent component to a child component, we can use props in Vue.Jan 7Jan 7
Published inLearn VueSlotsIf you want to pass a template from a parent component to a child component, you can use slots.Jan 6Jan 6
Published inLearn VueComponentsIn Vue, we construct UIs by writing small UI blocks called components and using them to create a big, beautiful UI.Jan 4Jan 4
Published inLearn VueWatch and WatchEffectWant to watch a reactive state and run some code? Vue has a feature for this called watchers.Jan 2Jan 2
Published inLearn VueTemplate RefsSometimes we need to manually access and manipulate the DOM ourselves. That’s where Template References come in.Jan 2Jan 2
Published inLearn VueComponent LifecycleFrom the creation stage to the destruction stage, there are various lifecycle hooks that can be used for different scenarios.Jan 2Jan 2