摘要:
#原理分析 获取模块内容 解析模块 收集依赖 ES6转成ES5 递归获取所有依赖 https://juejin.cn/post/6854573217336541192#heading-7 https://juejin.cn/post/6844903858179670030 阅读全文
摘要:
##css *, .Cal { padding: 0 } ::-moz-selection { background: #807dd4; color: #FFF } ::selection { background: #807dd4; color: #FFF } ::-webkit-selectio 阅读全文
摘要:
###css html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,men 阅读全文
摘要:
https://juejin.cn/post/6844903727380332558 https://juejin.cn/post/6900058068374650887 https://juejin.cn/post/6844904079202713608 https://juejin.cn/pos 阅读全文
摘要:
bus原理 阅读全文
摘要:
观察者模式 阅读全文
摘要:
##发布订阅模式 阅读全文
摘要:
全局混入在项目中怎么用? 在main.js中写入 import Vue from 'vue'; import mixins from './mixins'; Vue.mixin(mixins); 复制代码 之后,全局混入可以写在mixins文件夹中index.js中,全局混入会影响到每一个之后创建的 阅读全文
摘要:
虚拟dom 阅读全文
摘要:
前端路由和后端路由 前端路由的核心:改变url但是页面不刷新 实现 通过hash模式:location.hash='aaa' 通过h5的history模式:history.pushState({},'','home') history.replaceState history.go(-1) hist 阅读全文