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.
Click to load comments...