摘要: 1、npm init 2、注册npm,https://www.npmjs.com/ 3、npm需要更新最新的npm 4、npm login 5、npm publish --access=public 阅读全文
posted @ 2020-03-15 21:00 LLC-Mite 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1、tslint TypeScript的格式化 2、esLint 3、prettier 4、vetur 格式化html,css,vue 阅读全文
posted @ 2020-03-15 09:57 LLC-Mite 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 第一种方法:使用sass变量 根据sass变量打包成多套css,切换应用的css路径达到换肤效果 阅读全文
posted @ 2020-03-15 09:55 LLC-Mite 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 接收一个vue组件 该组件应该有个方法,install customComponent.install=function(Vue){ vue.Component('name',custemComponent) } 阅读全文
posted @ 2020-03-15 09:54 LLC-Mite 阅读(545) 评论(0) 推荐(0) 编辑
摘要: 1、transform 2、calc 3、transition 阅读全文
posted @ 2020-03-15 09:50 LLC-Mite 阅读(85) 评论(0) 推荐(0) 编辑
摘要: Node_Dev=Dev 在js文件里可以通过prosess.env获取该变量 阅读全文
posted @ 2020-03-15 09:47 LLC-Mite 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 1、使用iframe嵌入 2、全局变量 3、事件监听 4、定时器 6、DOM数量 阅读全文
posted @ 2020-03-15 09:42 LLC-Mite 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 使用for循环新增或删除数组时,出现下标不对的问题! 1、删除 1)每删除一个元素,下标减1 2)倒序循环 阅读全文
posted @ 2020-03-15 09:28 LLC-Mite 阅读(277) 评论(0) 推荐(1) 编辑
摘要: <ng-container *ngComponentOutlet="customComponent"></ng-container> 阅读全文
posted @ 2020-03-15 09:23 LLC-Mite 阅读(121) 评论(0) 推荐(0) 编辑
摘要: flex布局:使用flex-grow均分剩余空间,每个盒子都要给个初始宽度,才能均分 阅读全文
posted @ 2020-03-15 08:31 LLC-Mite 阅读(2457) 评论(0) 推荐(0) 编辑
摘要: 1)简历 基本信息:姓名,年龄,手机,邮箱,籍贯,学历 工作经历,时间-公司-岗位-职责-技术栈-业绩(可以写以前项目没有做好或者现在可以做的更好的) 开源项目:github和说明 2)自我陈述 把握面试沟通的方向: (平时喜欢研究网站的技术点,好玩的,要提前去看准备好自己要说的技术点,类似于这 样 阅读全文
posted @ 2020-03-15 08:29 LLC-Mite 阅读(270) 评论(0) 推荐(0) 编辑
摘要: import subject from "nxjs/subject"; let sub = new subject(); //发布订阅 sub.subscribe(data=>{ console.log(data> }); //执行订阅的事件 sub.next(data); 阅读全文
posted @ 2020-03-15 08:27 LLC-Mite 阅读(313) 评论(0) 推荐(0) 编辑