A template of vite + vue3-ts project with eslint and prettier
husky
and lint-staged
are installed to force style
A simple Github Action to run npm run build
, and configs of Renovate
vite
Start vite dev server
vite build
Build into dist/
vite preview
eslint --ext .js,.vue src
Check if any code does not comply with the rules
eslint --ext .js,.vue src --fix
Not only check, but also fix
prettier --write .
Use prettier to format