摘要:
If you work with SSR, you have probably seen a warning like this. This happens when the server-side rendered HTML and the client-side rendered HTML fr 阅读全文
摘要:
Lazy hydration has been implemented as part of the Vue’s Async Component API. So before we get to lazy hydration, let’s take a quick look at async com 阅读全文
摘要:
A template ref is a ref that connects to an element and allows you to manipulate the underlying HTML element using the DOM API. This is generally not 阅读全文
摘要:
v-bind is a commonly used feature in Vue.js. It can be used to bind a reactive value to an attribute or the content of an element. <script setup lang= 阅读全文
摘要:
Vue 3.3 brings an upgraded experience for using TypeScript with compiler macros such as: defineProps defineEmits defineSlots First, defineProps in its 阅读全文
摘要:
In Vue 3.3, you can create generic components. Generic is an important feature in many statically typed languages, including TypeScript. It’s basicall 阅读全文
摘要:
defineOptions Previously, if you were using script setup, and you wanted to define some options such as name or inheritAttrs for your component, you w 阅读全文
摘要:
<style> v-bind is a new feature in Vue 3.2 that might remind you of v-bind:style, which is a classic Vue.js technique for binding some reactive value 阅读全文