We need to create a Vue-CLI project to be able to install the Ant-Design plugin and start developing the user registration form:
- We need to open Terminal (macOS or Linux) or Command Prompt/PowerShell (Windows) and execute the following command:
> vue create antd-vue
- First, Vue-CLI will ask for you to choose a preset; select Manually select features using the space bar:
? Please pick a preset: (Use arrow keys)
default (babel, eslint)
❯ Manually select features
- Now Vue-CLI will ask for the features, and 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
- Here, Vue-CLI will ask which CSS pre-processor you want to use; select Less:
? Pick a CSS pre-processor (PostCSS, Autoprefixer...