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