Tag

v-model

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 23, 2024 · Frontend Development

Advanced Vue 3 Component Encapsulation: v-model, Slot Passing, and Ref Access

This article demonstrates how to create a reusable Vue 3 component with Vite and Element‑Plus, covering two‑way data binding via v‑model, slot forwarding using the h function, and exposing child component refs through a Proxy, complete with code examples and explanations.

Vuecomponentproxy
0 likes · 7 min read
Advanced Vue 3 Component Encapsulation: v-model, Slot Passing, and Ref Access
php中文网 Courses
php中文网 Courses
Sep 15, 2022 · Frontend Development

Advanced Vue 3 Techniques: createVNode, render, JSX/TSX, Dependency Injection, Composition API, and Global Component Registration

This article presents a comprehensive guide to Vue 3 advanced features, covering the use of createVNode and render for dynamic component creation, JSX/TSX advantages, dependency injection with provide/inject, Composition API patterns, utility hooks, global component registration, script‑setup syntax, and the latest v‑model usage, all illustrated with practical code examples.

Composition APIGlobal ComponentsJSX
0 likes · 19 min read
Advanced Vue 3 Techniques: createVNode, render, JSX/TSX, Dependency Injection, Composition API, and Global Component Registration