zhaobinglong / myBlog

https://zhaobinglong.github.io/myBlog/
MIT License
7 stars 0 forks source link

团队协作效率提升 #114

Open zhaobinglong opened 3 years ago

zhaobinglong commented 3 years ago

Eslint编码自动检查与纠错

参考

https://developers.weixin.qq.com/community/develop/doc/000020aa8ecaa8ba77262808456800

zhaobinglong commented 3 years ago

git hook提交检查

构建可交互式组件库

zhaobinglong commented 3 years ago

vscode中新建vue代码分页片段提升效率

    "Print to console": {
        "prefix": "mypage",
        "body": [
            "<div class=\"pagination\">"
            "   <el-pagination"
            "       :total=\"total\""
            "       :current-page=\"pageNo\""
            "       :page-sizes=\"[10, 20, 40, 50, 100]\""
            "       :page-size=\"pageSize\""
            "       layout=\"prev, pager, next, sizes\""
            "       @size-change=\"handleSizeChange\""
            "       @current-change=\"handleCurrentChange\""
            "   />"
          "</div>"
        ],
        "description": "Create vue page template"
    }

参考

https://www.cnblogs.com/missfox18/p/11315476.html