Recalculates tabs indicator position on direction change in the Tab Component
Example
Before
watch(() => context.modelValue.value,async (n) => {await nextTick();updateIndicatorStyle();}, { immediate: true },);
After
watch(() => [context.modelValue.value, context?.dir.value],async () => {await nextTick();updateIndicatorStyle();}, { immediate: true },);
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community