创建一个vue3.0的项目

1, 升级vue/cli
yarn global add @vue/[email protected]
检查版本 vue -V 4.5.1以上版本才可
2, 创建vue3.0项目
vue create vue3
在提示选项中选择vue3版本
在这里插入图片描述