“Vue 创建脚手架”的版本间的差异

来自姬鸿昌的知识库
跳到导航 跳到搜索
第3行: 第3行:
 
Vue 脚手架(Vue CLI,Vue Command Line Interface)是 Vue 官方提供的标准化开发工具(开发平台)
 
Vue 脚手架(Vue CLI,Vue Command Line Interface)是 Vue 官方提供的标准化开发工具(开发平台)
 
https://cli.vuejs.org/zh/
 
https://cli.vuejs.org/zh/
 +
 +
注意:可以先配置 npm 淘宝镜像,以免下载缓慢:<syntaxhighlight lang="powershell">
 +
npm config set registry https://registry.npm.taobao.org
 +
</syntaxhighlight>
  
 
第一步(仅第一次执行):全局安装 @vue/cli<syntaxhighlight lang="powershell">
 
第一步(仅第一次执行):全局安装 @vue/cli<syntaxhighlight lang="powershell">
 
npm install -g @vue/cli
 
npm install -g @vue/cli
 
</syntaxhighlight>
 
</syntaxhighlight>

2024年8月8日 (四) 22:51的版本

https://www.bilibili.com/video/BV1Zy4y1K7SH?p=61

Vue 脚手架(Vue CLI,Vue Command Line Interface)是 Vue 官方提供的标准化开发工具(开发平台) https://cli.vuejs.org/zh/

注意:可以先配置 npm 淘宝镜像,以免下载缓慢:

npm config set registry https://registry.npm.taobao.org

第一步(仅第一次执行):全局安装 @vue/cli

npm install -g @vue/cli