The video for this lesson is currently being updated, please read the transcript instead.

Advanced features

In this video we're going to get a preview of some of the more advanced features of Vue.

Single-file components

In the previous video, we defined our component template using a JavaScript string. One drawback of doing it this is that it very awkward to write larger component templates.

A far better way to define Vue components is by using a single-file component.

These allow you to put a component in a single file with the .vue extension.

To view the complete lesson you'll need to login or join this course.


Click to load comments...