f47c97f895184d70a9c280edb938a69c116c36da

Update the pre-commit script to handle the availability of pnpm. If pnpm is not available, the script will use the alternative path $HOME/.local/bin/pnpm. This change ensures that the lint-staged command is executed correctly regardless of the availability of pnpm.
vue-ts-example
This template should help get you started developing with Vue 3 in Vite.
Husky 遇到 command not found: husky
- https://typicode.github.io/husky/zh/troubleshoot.html#找不到命令-command-not-found
- https://typicode.github.io/husky/zh/how-to.html#node-版本管理器和-gui
ln -s $(which pnpm) $HOME/.local/bin/pnpm
Description
Languages
JavaScript
95.2%
TypeScript
2.6%
Vue
2%
HTML
0.2%