pretty-vue-template
Runs Prettyhtml on your changed (based on Git) files.
Example:
pretty-vue-template
Install
npm install --save-dev pretty-vue-template
Usage
With npx
: (No install required)
npx pretty-vue-template
CLI Flags
-s --staged
Only staged files will be formatted, and they will be re-staged after formatting.
Formatter options
We use prettier resolveConfig
to indentify your tabWidth and printWidth. It will fallback to .editorconfig
.