
Learn to build single-page applications with Vue.js, switch from Angular, and render data with directives and templating. Harness components, props, slots, and Vuex for state management.
Install node and npm, verify versions, then install the Vue CLI globally to scaffold a single-page application with routing and state management from any location.
Render data to the DOM using a Vue.js style view instance, a data object, and interpolation. Apply directives, conditional rendering, lists, and CSS classes to build dynamic interfaces.
Learn conditional rendering in Vue.js for Angular developers using v-if, v-else, and v-else-if to show or hide content based on boolean tests and simple conditions.
Explore how to render lists in Vue.js using the V4 directive to loop over arrays and objects, displaying country names and staff details in lists and tables.
Learn to bind dynamic styles and classes to template elements in Vue.js using object and array syntax, toggle classes with conditions, and combine with regular classes for flexible styling.
Learn to handle events with methods in Vue, using a methods object to call functions, access data properties, and pass data between functions for responsive UI alerts.
Increment updates using computed properties to automatically recalculate the sum of X and Y when either changes, illustrating dependency handling in the view instance.
Vue lets you watch a data property and respond to changes with a watch object that receives previous and current values, illustrated by alerting when a counter hits ten.
Master event behavior in Vue by applying modifiers such as prevent default, stop, self, and once to form submissions and other events, avoiding page reloads and unwanted bubbling.
Learn to break a complex Vue app into reusable components, register and render them, pass data and content, and manage events, ensuring each component maintains private scope and works independently.
Explore how Vue components share data via props, passing strings or variables to notifications, and render multiple messages with v-for using custom attributes.
Learn how slots allow embedding content between a component's opening and closing tags, control where it appears in the template, and provide default fallback content.
Learn how to use custom events in Vue to enable parent–child communication, emit events from a child component, listen in the parent, and pass data to update UI.
Learn to read data from input fields with v-model, bind form elements to a data variable, and display live values in the dom while exploring checkboxes, radio buttons, and selects.
Learn to implement a select dropdown by binding a countries array to options, storing the selected value in a data variable, and displaying the chosen option in the DOM.
Attach modifiers to the model directive to preprocess phone field data, using lazy, no, and trim modifiers for proper data handling and consistent model values.
Rewrite the staff management homepage in Vue.js by scaffolding a new app and building a v-model form (name, phone, email, username) to add staff to a list, styled with Bootstrap.
Learn to fetch staff data from a backend API in a Vue.js app using the Axios library, leveraging the created lifecycle hook to load data on init and display it.
Submit form values to the backend API using a post request, handle the response with promises, and append the new user to the existing staff list to update the view.
Learn to implement navigation between pages in a Vue.js single-page app using the Vuelta router, configure routes, and load components via an outlet for clean, SEO-friendly routing.
Learn to build a dynamic user page in Vue.js by using route parameters like /user/:id to fetch and display a user’s name from a local dataset.
Learn to implement nested routes and nested components in a Vue router to display dynamic user views like profile and contact under /user/:id/profile and /user/:id/contact via a router outlet.
Attach names to routes to easily identify and reference named routes. Use those names to create navigation links and move between home and about pages.
Use named views to create a multi-view layout with default and named outlets, keeping the header and sidebar persistent while swapping the main area for home, post, and contact pages.
Pass data to route components using props and conditionally display a top message on the about page with a show message prop.
Explore how Vuex centralizes application state, uses derived properties via getters, and updates data through mutations and actions for unidirectional data flow.
Use getters to declare derived state in the store and expose a total staff value that updates automatically as the staff list changes, then render it in the component.
Define mutations in the store to modify state with pure functions and propagate changes to all components sharing the data when adding new staff.
Load staff data asynchronously from a remote API using actions, commit a mutation to update the state, and dispatch the action from the view to manage asynchronous state changes.
Vue.js gives you speed and flexibility in achieving much better performance in comparison to other JavaScript frameworks. It is easy to use and is quickly gaining popularity as the simpler alternative to React and Angular.
This practical guide helps Angular developers switch to Vue.js for application development. This course will teach you to build better applications in a hassle-free way, saving a lot of your time. We take a practical approach to explain the process of creating a Vuejs application, rendering data to the DOM, organizing functionality using components, etc.
This course is hands-on from start to finish. It takes you straight into the editor and started building an app. You are advised to code along as we’ll be incrementally building an application from scratch making use of all the Vue.js skills you’ve learned in the course.
By the end of the course, you will be confident in your knowledge of Vue.js for your application development and can also migrate to Vue from Angular easily with your newly gained knowledge.
What you will learn
Build Single Page Applications using Vue.js
Render data to the DOM using directives and templating
Handle DOM events using methods, watchers, and computed properties
Organize different parts of our application using components
Share data between components using props and slots
Manage state in our application using Vuex
Navigate around pages/components in our application using the Vuejs Router
Manage Application development using the Vue-CLI