# testbubble-ui **Repository Path**: shiqi547git/testbubble-ui ## Basic Information - **Project Name**: testbubble-ui - **Description**: bubble-ui的工程环境预搭建 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2023-01-16 - **Last Updated**: 2023-01-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README node 版本: v16.18.1 pnpm 版本: 7.22.0 第一步:`pnpm install` example 文件:组件本地测试: -我们写组件的时候会需要看看我们写出来的效果,这个时候就需要一个开发服务器来进行本地案例测试。 -用法:在`main.ts`中引入组件并注册,即可在`app.vue`中使用相关组件,注意:_组件的名称为编写组件时,组件的 name 属性,我们使用 vue3 的 script 标签的 setup 语法糖,组件 name 属性直接在 script 中写,详见我写的 button 组件_ 启动服务:`pnpm dev` 代码提交顺序: 1.git add [filename] 2.pnpm commit (会有很多提交信息提示,根据自己的情况自行选择)(写完提交信息后会自动执行代码质量检测和风格检测并自动修复一些风格问题,执行完成后未报错则表示你的代码通过了检测并且 commit 成功,此时可以进行 git push 提交 类型//描述 1.build:编译相关的修改,例如发布版本、对项目构建或者依赖的改动 2.chore 其他修改, 比如改变构建流程、或者增加依赖库、工具等 3.ci 持续集成修改 4.docs 文档修改 5.feat 新特性、新功能 6.fix 修改 bug 7.perf 优化相关,比如提升性能、体验 8.refactor 代码重构 9.revert 回滚到上一个版本 10.style 代码格式修改, 注意不是 css 修改 11.test 测试用例修改 css 规则编写需要按照一定的顺序,便于团队其他同学 codereview 具体顺序如下: ```json 'position', 'top', 'right', 'bottom', 'left', 'z-index', 'display', 'float', 'width', 'height', 'max-width', 'max-height', 'min-width', 'min-height', 'padding', 'padding-top', 'padding-right', 'padding-bottom', 'padding-left', 'margin', 'margin-top', 'margin-right', 'margin-bottom', 'margin-left', 'margin-collapse', 'margin-top-collapse', 'margin-right-collapse', 'margin-bottom-collapse', 'margin-left-collapse', 'overflow', 'overflow-x', 'overflow-y', 'clip', 'clear', 'font', 'font-family', 'font-size', 'font-smoothing', 'osx-font-smoothing', 'font-style', 'font-weight', 'hyphens', 'src', 'line-height', 'letter-spacing', 'word-spacing', 'color', 'text-align', 'text-decoration', 'text-indent', 'text-overflow', 'text-rendering', 'text-size-adjust', 'text-shadow', 'text-transform', 'word-break', 'word-wrap', 'white-space', 'vertical-align', 'list-style', 'list-style-type', 'list-style-position', 'list-style-image', 'pointer-events', 'cursor', 'background', 'background-attachment', 'background-color', 'background-image', 'background-position', 'background-repeat', 'background-size', 'border', 'border-collapse', 'border-top', 'border-right', 'border-bottom', 'border-left', 'border-color', 'border-image', 'border-top-color', 'border-right-color', 'border-bottom-color', 'border-left-color', 'border-spacing', 'border-style', 'border-top-style', 'border-right-style', 'border-bottom-style', 'border-left-style', 'border-width', 'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width', 'border-radius', 'border-top-right-radius', 'border-bottom-right-radius', 'border-bottom-left-radius', 'border-top-left-radius', 'border-radius-topright', 'border-radius-bottomright', 'border-radius-bottomleft', 'border-radius-topleft', 'content', 'quotes', 'outline', 'outline-offset', 'opacity', 'filter', 'visibility', 'size', 'zoom', 'transform', 'box-align', 'box-flex', 'box-orient', 'box-pack', 'box-shadow', 'box-sizing', 'table-layout', 'animation', 'animation-delay', 'animation-duration', 'animation-iteration-count', 'animation-name', 'animation-play-state', 'animation-timing-function', 'animation-fill-mode', 'transition', 'transition-delay', 'transition-duration', 'transition-property', 'transition-timing-function', 'background-clip', 'backface-visibility', 'resize', 'appearance', 'user-select', 'interpolation-mode', 'direction', 'marks', 'page', 'set-link-source', 'unicode-bidi', 'speak' ```