Commit Message 種類 feat: 新增/修改功能 (feature) fix: 修補 bug (bug fix) docs: 文件 (documentation) style: 格式 (不影響程式碼運行的變動 white-space, formatting, missing semi colons, etc) refactor: 重構 (既不是新增功能,也不是修補 bug 的程式碼變動) perf: 改善效能 (A code change that improves performance) test: 增加測試 (when adding missing tests) chore: 建構程序或輔助工具的變動 (maintain)
Dec 21, 2020套件管理 - Yarn IDE 插件 - ESLint、vuelint Vue Cli版本 - v4.3.1 查詢指令 $ vue -V Html - Pug $ yarn add vue-cli-plugin-pug --dev
Dec 3, 2020node固定版本? css撰寫邏輯(OOCSS v.s. SMACSS)? vuelint統一配置? 所有 scroll bar 都要隱藏, 因為 window 環境下 scroll bar 又醜又寬的看了會讓人心情不好 mixin之methods命名加上$_前綴 vue 特性讓資料流從 a->b->c->d 變成 a->b, a->c, a->d not good
Dec 3, 2020Vue 參照Vue風格指南 JS 盡量以FP(Funtional Programing)思想撰寫邏輯,讓一個函數只做一件事 引用變數時遵循 Immutable 原則,避免 data 有預期外的變動 if 後若有 else 的需求,情況允許可換成 switch代替
May 13, 2020or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up