vue3 yarn 安装
时间: 2023-10-03 10:04:17 浏览: 154
yarn下载安装
4星 · 用户满意度95%
安装Vue 3可以按照以下步骤进行:
第一步,先卸载之前安装的Vue脚手架。可以使用以下命令进行卸载:
```
npm uninstall vue-cli -g
yarn global remove vue-cli
```
第二步,安装Yarn。可以使用以下命令进行安装:
```
npm install -g yarn
```
第三步,配置淘宝源。可以使用以下命令进行配置:
```
yarn config set registry https://registry.npm.taobao.org -g
yarn config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g
```
完成以上步骤后,你就可以使用Yarn来安装Vue 3了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [vue3安装教程 - 简易版](https://blog.csdn.net/qq_35849707/article/details/123206566)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Vite搭建Vue3 + TypeScript 项目(Yarn)](https://blog.csdn.net/Trista_1999/article/details/127689817)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文