Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Vue.js 2 Basics
Rating: 4.5 out of 5(863 ratings)
18,369 students

Vue.js 2 Basics

Make your first steps with vueJs
Created byTim Schütz
Last updated 11/2018
English
English [Auto],

What you'll learn

  • Learn the basics of vueJs easy and fast

Course content

1 section • 23 lectures • 1h 7m total length
  • Introduction1:54

    Discover the basics of Vue.js, a lightweight JavaScript framework touted as easy to learn, and start building real-world applications with practical setup guidance.

  • Install Atom1:53

    Install atom by loading it in your browser, choose Mac or Windows, then open a new folder to view the project structure and install packages.

  • Install Plugins1:45

    Install essential plugins such as live server for refreshing the page and Emmet for rapid html generation, and set up basic icons for the project.

  • Setup Layout2:12

    Create the boilerplate for a Vue.js 2 project, set up the index file, and integrate bootstrap via a CDN and script to bootstrap the layout.

  • Vue object4:47

    Learn to create a view object, connect it to a page element, define a data object with a title, and render it using moustache-like templating in Vue.js 2.

  • Data object3:18

    Learn how to define a data object, create arrays of strings, numbers, booleans, and objects, and access object properties to display values in Vue.js 2.

  • Methods3:16

    Learn how to add and call methods in a Vue.js 2 object. Use arrays and objects, pass parameters, and access data with this in template syntax to display results.

  • Change vue values per console1:31

    Learn how to change Vue.js 2 data values from the browser console, display a title, call methods, and use console tips to debug reactivity and locate errors.

  • Directives: v-show2:31

    Learn how to use the v-show directive to dynamically show or hide elements by toggling a boolean in the data object.

  • Directives: v-html1:46

    Demonstrate how the v-html directive inserts code into elements, displaying saved text inside simple elements like p tags and composing directives for dynamic content.

  • Databinding4:29

    Learn Vue.js 2 databinding by storing image attributes in a data object and binding the source from that object using the new binding directive.

  • 2 Way databinding2:42

    Explore two-way data binding in Vue.js 2, linking input fields to the data object so typing updates the object and the display reflects changes in real time.

  • Events3:14

    Learn how to attach events to elements in Vue.js 2 basics, using on click handlers, pass event objects, and log event properties like screenX and screenY for interactive behaviors.

  • Keyboard events3:14

    Learn how to handle keyboard events in Vue.js 2 basics, wiring input models, and using key codes like 13 for enter to trigger actions via key up and key down.

  • Computed properties8:22

    discover how computed properties in vue.js connect to the data object and update automatically when data changes, and compare them to methods to understand triggers and performance.

  • Add remove classes3:11

    Learn to dynamically add and remove classes in Vue.js 2 by binding an object of classes to a boolean active flag, and apply styles like color and border.

  • Css styling2:00

    Learn css styling basics for Vue.js pages, including setting background color and text color, defining style objects and classes, and applying these styles to elements.

  • Conditions3:38

    Explore Vue.js 2 conditional rendering with v-if and v-else, displaying or removing elements based on data values and binding conditions to a data object.

  • Dsiply list of items: v-for4:10

    Learn how to render lists in Vue.js 2 using the v-for directive. Loop over arrays or objects, display names and indices, and use indexes to delete items.

  • Checkbox1:25

    Bind a checkbox to a view and connect it to an active property in the data model, enabling you to read its checked state and act on value changes.

  • Radio buttons1:29

    Learn how to create and bind radio buttons in Vue.js, define values for gender options, and react to the selected value to drive form actions.

  • Selection1:17

    Learn how to use the select element in Vue.js 2 basics, bind it to a data model, define options like email or no entry, and read and save the selection.

  • 2 Vue objects & interaction3:19

    Create and duplicate Vue view objects to build a two-view interface, then link them with a button to change each object's title using a simple change title method.

Requirements

  • Learn the basics of vueJs 2

Description

Vue.js is a progressive JavaScript framework, which means you can adopt it incrementally—whether you want to power a single interactive section of an existing website or build a full-scale single-page application from scratch. Compared to other popular frameworks like Angular or React, Vue.js stands out for its clean, intuitive syntax and gentle learning curve. In my opinion, it is the absolute best framework to start with right after you have mastered your JavaScript basics.

In this fast-paced, one-hour course, we will cut through the noise and focus strictly on the essential fundamentals of Vue.js. You will learn how Vue handles data reactivity, HTML templates, reusable components, and user interactions through practical, hands-on examples. Instead of getting bogged down in complex theory, every short lesson is designed to give you immediate, real-world results. By the end of this hour, you will have a solid, working understanding of how Vue.js operates and the confidence to integrate it into your own future web projects.

Of course, the modern Vue ecosystem has much more to offer beyond this introductory hour, and I will be creating additional in-depth courses to help you level up your frontend skills even further.

Enjoy the course,
Tim

Who this course is for:

  • If you want to get to the next level in the javascript game