npm init vite-app hello-vue3 # OR yarn create vite-app hello-vue3
1
其实执行 npm init vite-app 时,npm 会补全模块名为 create-vite-app 并执行 npx create-vite-app
npm init vite-app hello-vue3
# same as
npx create-vite-app hello-vue3
————————————————
版权声明:本文为CSDN博主「c小刺猬」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_21744873/article/details/108831306