×

Vue 3 Composition API

Setup Function

The setup function is the entry point for Composition API.

Reactive Data

Use ref and reactive to create reactive data.

1
const count = ref(0);
Licensed under the GNU General Public License v3.0
Last updated on 2026年02月13日 00:06