上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: // https://www.jianshu.com/p/818833b2dd5a npm的版本号管理 一个版本号分为三个部分: X, Y, Z.X表示主版本号, X为主版本号,Y为次版本号,Z为更新补丁号, 如果做稍微改动、修复功能,没有添加新功能,更新Z,如果添加新功能,更新版本号Y,如果有大的 阅读全文
posted @ 2019-03-21 15:22 focus_yaya 阅读(726) 评论(0) 推荐(0) 编辑
摘要: 实这几个方法之间的差异主要在属性是否可可枚举,是来自原型,还是实例。 阅读全文
posted @ 2019-03-20 10:07 focus_yaya 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1,cross-env能跨平台地设置及使用环境变量 cross-env让这一切变得简单,不同平台使用唯一指令,无需担心跨平台问题 npm安装方式 npm i --save-dev cross-env 在npm脚本(多是package.json)里这么配置 { "scripts": { "build" 阅读全文
posted @ 2019-01-15 14:37 focus_yaya 阅读(224) 评论(0) 推荐(0) 编辑
摘要: /** * 业务线组件总结 * */ /* B端组件的总结 1、组件cssBase的总结 1像素底部边框 */ @mixin border - 1px - b($background: $gray - lightest) { content: ''; display: block; width: 2 阅读全文
posted @ 2019-01-14 17:08 focus_yaya 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 什么是nrm nrm 是一个 npm 源管理器,允许你快速地在 npm 源间切换。 安装nrm 在命令行执行命令,npm install -g nrm,全局安装nrm。 使用 执行命令nrm ls查看可选的源。 nrm ls *npm https://registry.npmjs.org/ cnpm 阅读全文
posted @ 2019-01-14 16:59 focus_yaya 阅读(1605) 评论(0) 推荐(1) 编辑
摘要: https://github.com/lulujianglab/blog/issues/34 一、生命周期1,初始化的执行顺序,初始生命周期执行过程详解class initSate extends Component {constructor(props, context) {super()this 阅读全文
posted @ 2019-01-12 19:47 focus_yaya 阅读(748) 评论(0) 推荐(0) 编辑
摘要: 1,微信公众号支付和微信小程序支付有差异 微信公众号:可以直接跳转走h5的微信支付 微信小程序:在测试环境、沙箱环境使用微信公众号的跳转支付没有问题,在线上存在支付异常 最后商讨的解决方法 openid获取的方法 appid code apenid,accestoken 通过appenid拿到对应的 阅读全文
posted @ 2019-01-08 21:57 focus_yaya 阅读(2668) 评论(0) 推荐(0) 编辑
摘要: 1.前端异常处理的框架对比 是否开源收费语言监控范围sentry是自己搭建服务器(免费)价格英文Angular、AngularJs、Backbone、Ember、JavaScript、React、Vue......fundebug否收费(708一年,本地版:12万一年)中文Angular、Angul 阅读全文
posted @ 2019-01-07 20:48 focus_yaya 阅读(1270) 评论(0) 推荐(0) 编辑
摘要: // promise的第一版实现 function myPromise(constructor) { let self = this; self.status = "pending" //定义状态改变前的初始状态 self.value = undefined; //定义状态为resolved的时候的 阅读全文
posted @ 2018-12-28 21:44 focus_yaya 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 1,node中间层总结 1,ejs引入vue的js,路由层(直接透传,自定义行的),比较浅层的一层 中间件的引入 const path = require('path')const Koa = require('koa')const views = require('koa-views')const 阅读全文
posted @ 2018-12-24 11:50 focus_yaya 阅读(868) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页