Vue.js Group_1
Vue.js Group_1
GROUP-1 | BSIT-2D
Johnful P. Flores
Medalyn S. Amatiaga
Mariella O. Dapin
A.Y. 2025
What is Vue.js?
Vue.js is a progressive JavaScript framework for building user interfaces and single-page applications. It
is designed to be incrementally adoptable, making it easy to integrate with other libraries or projects.
Vue focuses on the view layer and provides reactive data-binding, component-based architecture, and a
smooth development experience. With Vue, you can build sophisticated applications with ease while
maintaining a lightweight and performant system.
History of Vue.js
Vue.js was created by Evan You in 2014. It quickly gained popularity due to its simplicity, flexibility,
and ease of integration with other projects. Over time, it has evolved into one of the leading front-end
frameworks.
Evolution of Vue.js
2014: Vue.js was first released, providing a simple and flexible alternative to AngularJS.
2016 (Vue 2.0): Introduced the virtual DOM, improved reactivity, and better performance.
2020 (Vue 3.0): Major improvements, including the Composition API, improved TypeScript
support, and enhanced performance.
Today, Vue.js is widely used for developing web applications, single-page applications (SPAs), and
mobile applications via frameworks like Nuxt.js and Quasar.
1. Install Node.js
Vue.js requires Node.js for managing project dependencies and running development servers.
Once installed, verify Node.js by opening a terminal or command prompt and running the following
command:
This will print the version number if the installation was successful.
2. Install a Code Editor
The recommended editor is Visual Studio Code (VS Code), available at code.visualstudio.com.
Install the Vetur or Volar extension for Vue.js support.
Use Vue CLI (Command Line Interface) or Vite to set up a new Vue project.
4. Install Dependencies
Move into the project folder and install the required dependencies:
To create a new component in Vue, define a .vue file inside the components/ folder.
As the user types in the input field, the message variable automatically updates, and the UI reflects this
change.
This toggles between "You are logged in" and "You are logged out" based on the loggedIn data
property.
Simplicity and Flexibility: Vue.js is easy to integrate with existing projects and allows gradual
adoption. It's great for both small and large-scale applications.
Reactive Data Binding: Vue’s reactivity system makes it simple to manage and update the user
interface.
Strong Ecosystem: Vue provides official tools like Vue Router (for routing) and Vuex (for state
management), and has a large and active community.
Conclusion:
Vue.js provides a simple yet powerful way to build modern web applications with high efficiency and
flexibility.