Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Vue.js 3 Components Fundamentals

Vue Component Template

In this lesson, we're going to learn about component templates in Vue 3. The template is where we define our HTML and general markup for our component. We also bind our component's data to the DOM in the template.

In Vue.js, we can define our template in a few different ways. In this lesson, we'll move away from the inline template and use the x-template technique, which is great when you're getting started.

You can read more about Vue's Template Syntax in the documentation.