# custom-components
**Repository Path**: ysace/custom-components
## Basic Information
- **Project Name**: custom-components
- **Description**: vue2+ts 项目 使用了 vue-class-component 和 vue-property-decorator
基于 element 封装的一些组件
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: dev
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-12-12
- **Last Updated**: 2025-05-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 封装的组件
## 项目基本信息
### 搭建项目
vue2+ts 项目 使用了 vue-class-component 和 vue-property-decorator
node 版本 node: v14.21.3 npm: 6.14.18
[使用说明 vue-class-component](https://github.com/vuejs/vue-class-component)
[使用说明 vue-property-decorator](https://github.com/kaorun343/vue-property-decorator)
### .prettierrc 文件配置
```json
{
"printWidth": 120, // 一行的最大宽度为 120 个字符
"tabWidth": 2, // tab缩进大小,默认为 2
"singleQuote": true, // 使用单引号, 默认false(在jsx中配置无效, 默认都是双引号)
"useTabs": false, // 使用tab缩进,默认false
"semi": true, // 在语句末尾添加分号, 默认true
"trailingComma": "es5", // 控制在多行数组和对象字面量中是否打印尾随逗号, 默认none,可选 none | es5 | all(所有)
"bracketSpacing": true, // 默认true true: { foo: bar } false: {foo: bar}
"arrowParens": "avoid", // 只有一个参数的箭头函数中是否使用圆括号 默认avoid avoid(不使用) | always(使用)
"jsxBracketSameLine": false, // 在 JSX 中,将 > 放在最后一行的结束处,而不是新行上 默认 false
// false: