Vue.js Framework
vuejs.org
2
Leaving SiteNav
External Link Disclaimer
You are about to visit vuejs.org. This website is not operated by us. We are not responsible for its content or privacy practices.
About this website
Vue.js is a progressive JavaScript framework for building web user interfaces that scales from enhancing a single HTML page with interactivity to powering complex single-page applications with routing, state management, and server-side rendering. The core library focuses on the view layer, providing a reactive data system where changes to component state automatically trigger DOM updates through a compiler-optimized virtual DOM that tracks dependencies at the property level, avoiding unnecessary re-rendering of unaffected components. Single-file components with a .vue extension combine the template, script, and style for one component into one file, using scoped CSS that prevents style leakage between components and a template syntax that extends HTML with directives for conditional rendering, list rendering, two-way binding, and event handling. The Composition API, introduced in Vue 3, provides a function-based approach to organizing component logic, where reactive state, computed values, watchers, and lifecycle hooks are declared inside a setup function using composable functions that can be extracted and shared across components for reusable logic. The reactivity system uses JavaScript Proxy objects to track property access and mutations, ensuring that dependencies are captured automatically without explicit subscription calls. The official ecosystem includes Vue Router for client-side routing with nested routes and navigation guards, Pinia for type-safe state management with devtools integration, and Vite for development tooling with hot module replacement. Vue 3 is maintained by Evan You and a team of core contributors, released under the MIT License, and used in production by companies including GitLab, Adobe, Behance, Grammarly, Nintendo, and BMW.
Statistics
2
Views
0
Clicks
0
Like
0
Dislike