Version update

1. View the installed version

Vue --version or vUE -vCopy the code

2. Uninstall the earlier version

NPM uninstall VUe-cli -g or YARN Global remove VUe-CLICopy the code

3. Upgrade scaffolding

npm install -g @vue/cli
Copy the code

Create a project

1. Create a project

Vue create Project nameCopy the code



Default: Indicates the Default configuration

Manually select features – Manually select configuration

2. Configure (Manually select configuration) — Press the space bar to select/cancel

3. Select a version

4. Whether to select historical mode, y — Historical mode; N — Hash mode

5. Select a CSS preprocessor

6. Grammar detection tools

7. Select a syntax check mode

8. Where do I put configuration files like Babel, PostCSS, esLint

9. Check whether the storage is the default configuration



Y — Requires a save name

N — Do not save

10. The project is created successfully

11. Create the vue.config.js configuration file, set the port number, and automatically open the project