© Brett Nelson 2018
Brett NelsonGetting to Know Vue.jshttps://doi.org/10.1007/978-1-4842-3781-6_11

11. Tooling

Brett Nelson1 
(1)
Eagan, Minnesota, USA
 

Tooling support and build tools can greatly improve the development experience in any workflow and that is as true with Vue as well. In this chapter, we will learn about single file components and the Vue command-line interface.

Single File Components

Single File Components, or SFCs, allow us to build Vue components in a single file with separate sections for the template, the JavaScript, and the styles. This allows us to take advantage of syntax highlighting and code suggestions for the language that is specified for a particular section.

SFC use the .vue file extension .

To use SFCs, we need a build ...

Get Getting to Know Vue.js: Learn to Build Single Page Applications in Vue from Scratch now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.