运行.sh文件的三种命令方式:

(1)sh    
(2)./
(3)/bin/sh

vite项目构建_z

image.png

#启动.sh文件,文件内部是一下命令(脚本)  
npm init vite hello-vue3
cd hello-vue3
yarn
yarn dev