15AH, San Francisco

California, United States.

Send Your Mail At:

tianyingkejishe@sina.cn

Working Hours

Mon-Sat: 9.30am To 7.00pm

分类标题

Autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et dolore feugait.

分类归档 vue3

【vscode】vue3+vscode+element

1、安装node

下载nodejs,当前最新版本是 node 16.8

国外下载地址:https://nodejs.org/en

国内下载地址:http://nodejs.cn/download

下载完成之后双击文件【node-v16.8.0-x64.msi】安装。nodejs全局环境变量配置参考 https://www.cnblogs.com/yyee/p/15209612.html

检查nodejs是否安装:

node -v

如果未安装nodejs,照下步骤安装:

2、设置镜像,提高npm安装软件的速度。

pnpm get registry

pnpm config set registry https://registry.npmmirror.com/

pnpm config set registry https://registry.npmjs.org/

pnpm get registry

3、安装pnpm

npm install -g pnpm -registry=https://registry.npmmirror.com/

4、查看端口占用

npm run dev –port 端口号