zly-prettier-config
v1.0.0
Published
zly-prettier-config FixYourCode
Downloads
13
Readme
prettier-config
Project setup
npm install @zly/prettier-config -D
Compiles and hot-reloads for development
1.项目根目录新建.prettierrc.js
```js
module.exports = require('@zly/prettier-config')
```
2、格式化单个文件
```markdown
npx prettier src/App.vue --write
```