O'Reilly logo

Getting to Know Vue.js: Learn to Build Single Page Applications in Vue from Scratch by Brett Nelson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required