第三步执行下 npm run prepare 第四步添加hooks yarn husky add .husky/pre-commit "npm run test" 第五步进入.husky/pre-commit 写shell脚本
確定! 回上一頁