Vue脚手架安装
2025-4-20
| 2025-4-20
Words 91Read Time 1 min
type
status
date
slug
summary
tags
category
icon
password
安装vue脚手架

安装vue-cli步骤

安装node: brew install node
下载源设置为淘宝镜像:npm config set registry https://registry.npm.taobao.org
安装脚手架:npm install -g @vue/cli;

创建脚手架项目

notion image
image-20220626143345632
这里选择vue2

启动脚手架项目

执行npm run serve
notion image
image-20220626143636737
打开开发者工具,可以看到这是vue写的一个helloworld
notion image
image-20220626143723824
vue脚手运行简单项目synchronized锁
Loading...