The previous applications were both made in quite an old-school way, with script
tags and simple JavaScript. In this section, we will discover new ways of creating Vue applications with some powerful features and tools. In this part, we will create a mini project to demonstrate the new tools we will use as we move on.
The vue-cli tool enables us to create ready-to-use app skeletons to help us get started on a new project. It works with a project template system that can ask you some questions to customize the skeleton to your needs:
- List the official project templates with the following command:
vue list
Here's the list displayed in the terminal:
There are three main types of official templates:
simple
: Uses no build toolswebpack
: Uses the very popular webpack bundler (recommended)browserify
: Uses the browserify build tool