Skip to content

Glossary: Vue.js

Options API

Also written: data(), methods

Vue's older way of writing components with `data()` and `methods` instead of `<script setup>`. You'll see it in older code and tutorials.

Where the book teaches it

Related terms

Composition API