IDE
Use VScode to install vscodeUsersetup-x64-1.56.0.exe. Installation package Download address (code.visualstudio.com)
- Vscode localization
Click the square button at the bottom of the left menu bar to open the extension program interface. Enter Chinese in the input box and find the [Chinese (Simplified) Language Pack for Visual Studio Code] plug-in. Click the “Install” button on the plug-in’s details screen to Install it.
After installation, press the shortcut key [CTRL+SHILF+P] to open the command panel and enter [config]. Then find the option [Configure Display Language] and click.
Select zh-cn from the next level 2 menu.If you want to restart the editor, click the “restart” button to restart the editor.After rebooting the editor, the Chinese translation is successful.
nodejs
Install node-v14.16.1-x64.msi. Download :(nodejs.cn/download)
Build the VUE project
D:>npm init @vitejs/app
Vscode import vue
Open vscode and go to File->Open Folder-> select the project directory
Start the project
Open command terminal Ctrl+· in vscode
PS D:\hello> npm install –registry=registry.npm.taobao.org
PS D:\hello> npm run dev
Access to the project
http://localhost:3001/