Skip to content

Node

npm

设置镜像源

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

初始化项目

npm install

运行项目

npm run dev

yarn

安装

npm install -g yarn

初始化项目

yarn

运行项目

yarn dev

pnpm

安装

npm install -g pnpm

初始化项目

pnpm install

运行项目

pnpm run dev