美文网首页
vue3项目安装

vue3项目安装

作者: 星星藏进黑夜 | 来源:发表于2023-06-05 11:30 被阅读0次

yarn安装vue3项目

1.先用npm安装yarn

npm install -g yarn

2.全局安装

yarn global add @vue/cli

3.创建一个目录名为vue3-project的vue3项目

vue create vue3-project
image.png

4.进入项目

cd vue3-project

5.启动项目

yarn serve
image.png

相关文章

网友评论

      本文标题:vue3项目安装

      本文链接:https://www.haomeiwen.com/subject/xtmledtx.html