vue+vscode安装

1、下载、安装nodejs.
https://nodejs.cn/download/
2、设置npm:

npm config rm proxy
npm config rm http-proxy
npm config rm https-proxy
npm config set no-proxy .huawei.com
npm config set registry http://mirrors.tools.huawei.com/npm

3、安装yarn

npm  install -g yarn

4、安装最新版vscode
5、设置setting.xml

{
    "workbench.settings.editor": "ui",
    "workbench.colorTheme": "Default Light+",
    "editor.fontFamily": "宋体",
    "editor.fontSize": 16,
    "editor.fontWeight": "100",
    "files.autoSave": "afterDelay",
    "autoDocstring.startOnNewLine": true,
    "editor.formatOnSave": true,
    "editor.formatOnSaveMode": "modificationsIfAvailable",
    "editor.tabSize": 4,
    "editor.formatOnPaste": true,
    "editor.minimap.enabled": false,
    "window.commandCenter": true,
    "terminal.integrated.defaultProfile.windows": "Command Prompt",
    "editor.autoClosingQuotes": "always",
    "editor.autoClosingBrackets": "always",
    "editor.largeFileOptimizations": false,
    "maven.executable.path": "F:\\maven\\apache-maven-3.8.1\\bin\\mvn.cmd",
    "workbench.editor.enablePreview": false,
}

6、安装插件


image.png
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。