The Vue CLI

The Vue CLI (https://cli.vuejs.org/) is the perfect companion for creating Vue.js applications, similar to what the Angular CLI is to Angular.

Installing this tool is very simple; you just need to execute the npm install -g @vue/cli command (or yarn global add @vue/cli if you prefer using Yarn).

If you remember our advice from the first few chapters of this book about avoiding installing npm packages globally, then congratulations! You can execute the Vue CLI through npx vue. Unfortunately, you will need to install (as far as we know) the @vue/cli-service-global package globally.

Using the Vue CLI, you can easily scaffold new applications. While doing so, you can pick and choose from the different tools that you're interested ...

Get Learn TypeScript 3 by Building Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.