Like Angular CLI and create-react-app covered in previous chapters, Vue also brings a CLI that you can use to create and manage your project. It is called Vue CLI. While it is not yet a key ingredient to make Vue a complete platform like Angular's, it is still quite rich compared to create-react-app for example.
Next, install Vue CLI and create the Everyday Market project by following the next steps:
- Open the terminal or command prompt and install Vue CLI by executing the following code:
npm install -g @vue/cli
- Create the app project by executing the following code:
vue create everyday-market-vue
By executing the preceding command, Vue CLI creates the folder with a specified name and scaffolds the entire project using its default options, in addition to installing the required dependencies.
Note
Vue CLI is quite extensive. You can use the --help
flag along with every command to inspect the supported options and different possibilities.
You can now open the folder in your editor. So, let...