In this chapter, we will use this project as the base for each recipe. Here, I will guide you through how to create the base project:
- Open Terminal (macOS or Linux) or a Command Prompt/PowerShell (Windows) and execute the following command:
> vue create {replace-with-recipe-name}
- Vue-CLI will ask for you to choose a preset; select Manually select features using the spacebar:
? Please pick a preset: (Use arrow keys)
default (babel, eslint)
❯ Manually select features
- Now, Vue-CLI will ask for what features you wish to install. You will need to select CSS Pre-processors as an additional feature on top of the default ones:
? Check the features needed for your project: (Use arrow keys)
❯ Babel
TypeScript
Progressive Web App (PWA) Support
Router
Vuex
❯ CSS Pre-processors
❯ Linter / Formatter
Unit Testing
E2E Testing
- Continue this process by selecting a linter and formatter. In our case, we will select ESLint + Airbnb config...