LY

Results 101 issues of LY

关于 commitlint, husky, eslint 的具体信息可以见官网。 - commitlint: [官网](http://marionebl.github.io/commitlint/#/), [github 仓库](https://github.com/marionebl/commitlint) - husky: [github 仓库](https://github.com/typicode/husky) - eslint [中文官网](http://eslint.cn/) ## 一、配置 commitlint commitlint 搭配 husky 的 commit message 钩子后,每次提交 git 版本信息的时候,会根据配置的规则进行校验,若不符合规则会 commit...

Git

[Vue和iOS、Android交互](https://blog.csdn.net/vickylizy/article/details/85098857)

转载

For the past three years, I’ve been using both React and Vue in different projects, ranging from smaller websites to large scale apps. 在过去的三年里,我一直在不同的项目中使用 React 和 Vue,范围从小型网站到大型应用程序。 Last month I...

转载

今天偶然发现,在Vue中使用插槽slot,是无法通过v-show控制slot的显示的,来看代码 ``` Vue.component('fade', { props: ['show'], template: ` `, methods: { handleBeforeEnter: function(el) { el.style.color = 'red' }, handleEnter: function(el, done) { setTimeout(() => { el.style.color = 'green' done() },...

Vue

[Vue 的父组件和子组件生命周期钩子执行顺序是什么](https://github.com/Advanced-Frontend/Daily-Interview-Question/issues/128)

Vue

# CSS如何实现文字两端对齐 **关键** 1. `text-align: justify` 2. `after、before伪元素` ## 具体实现 ```html demo * { margin: 0; padding: 0; } .row>div:first-of-type { /* width: 500px; */ height: 50px; line-height: 50px; font-size:...

CSS

[前端跨页面通信,你知道哪些方法?](https://github.com/alienzhou/blog/issues/27)

JS

```json { "workbench.colorCustomizations": { "activityBar.background": "#111111", "activityBarBadge.background": "#FFA000", "list.activeSelectionForeground": "#FFA000", "list.inactiveSelectionForeground": "#FFA000", "list.highlightForeground": "#FFA000", "scrollbarSlider.activeBackground": "#FFA00050", "editorSuggestWidget.highlightForeground": "#FFA000", "textLink.foreground": "#FFA000", "progressBar.background": "#FFA000", "pickerGroup.foreground": "#FFA000", "tab.activeBorder": "#FFA000", "notificationLink.foreground": "#FFA000", "editorWidget.resizeBorder": "#FFA000",...

效率神器
vscode

[vue组件间通信六种方式(完整版)](https://github.com/ljianshu/Blog/issues/66)

Vue

1. [vue计算属性和watch的区别](https://segmentfault.com/a/1190000012948175)