Main ideas
Single-File Components (*.vue) |
encapsulates the component's logic (JavaScript), template (HTML), and styles (CSS) in a single file |
Options API |
beginner-friendly by abstracting away the reactivity details and enforcing code organization via option groups |
Note: there exists also the composition API
Comments
Related