- webstrom gitlab操作
- 拉取項目:gitlab項目頁面clone->http複製->粘貼到webstrom(VSC,checkout from ,git)->test成功即可拉取
- 提交代碼到dev:找到git branchs或右下角的origin/dev,checkout as dev,本地就有dev分支了,右上角提交就到dev了
112.Select組件雙向綁定核心:
selectChange(e){
this.$emit('input', this.dataValue);
},
113.參數截取第一個,類似bind的實現
Array.prototype.shift.call(arguments,0)
114.webpack打包分析
- 分析打包大小:
- https://blog.csdn.net/weixin_41003211/article/details/79868670
- https://www.jianshu.com/p/e4036350132b
"analyz": "cross-env NODE_ENV=production npm_config_report=true npm run build"
- 補充:需要安裝cross-env,cnpm i cross-env -D (–save-dev的簡寫 ,S 兩種都寫)
115.js方法註釋
/** +回車
116.查看頁面dom渲染數量:
$$(’*’)
117.webpack打包問題:
Could not find a matching event to end plugins Object/Compiler/after-emit
原因:多寫了一個created