kuang
kuang
``` var toolbox = require('sw-toolbox'); var pagePaths = ['/','/xxx','/about','/help'] pagePaths.forEach(page=>toolbox.router.get(page,toolbox.networkFirst)); toolbox.precache(pagePaths); ``` I want this paths precached with cookie ,I had read the docs and counld not find some options...
0x00A/blog 改名成 hxoht/blog pivotal/blog 改名成 pivotal-legacy/blog
hideTabBar 和 showTabBar 并一定要传参数,改为可选
找了很久文档都没找到 miniProgramType | Number | 小程序的类型,默认正式版,1.8.1 及以上版本开发者工具包支持分享开发版和体验版小程序 -- | -- | --
在用户侧,用户主动清缓存是可以解决 有没有什么主动更新缓存的方法?像 http get 后端加 随机参数这样可以吗?
现在一般用sass都是用scss后缀,用这个普遍性更好,不用经常修改User配置。
### 相关平台 微信小程序 ### 复现仓库 [[email protected]:p2227/bug-demo.git]([email protected]:p2227/bug-demo.git) **小程序基础库: 3.0.1** **使用框架: React** ### 复现步骤 git clone npm i npm run dev 按照官方的配置启动skyline开发者环境 https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/migration/ ### 期望结果 点击黄色区域 期望点击时候会变成红色  ### 实际结果 点击黄色区域,颜色没有变化 ...
os:win7 x64 cmd: npm i optipng-bin error info: ``` > [email protected] postinstall D:\xxxxx\node_modules\optipng-bin > node lib/install.js ‼ unable to verify the first certificate ‼ optipng pre-build test failed i compiling...
## 目的: 不用每一次push的时候都输入用户名密码 ## 原理 - 参考 https://zh.wikipedia.org/zh/Secure_Shell - 一言蔽之,就是ssh协议支持使用公钥-私钥的方式访问 ## 效果: 可以做到多个git协议的网站同时使用的效果 可以做到一个git协议网站的多个帐号同时使用的效果 ## 步骤 1. Mac/Linux 打开命令行终端, Windows 打开 Git Bash 。这个git Bash在安装了git命令行之后会有 输入`ssh-keygen -t rsa -C "[email protected]"`,提示信息基本上按默认即可(也可以输入密码)实测发现即使是私有项目,也不需要输入密码...
此文章是 #5 的后续 在安装node-canvas的时候,也总是提示这个,不同的是,这次提示错误 的地方找不到源代码的所在地 ``` gyp ERR! stack Error: unable to verify the first certificate gyp ERR! stack at Error (native) gyp ERR! stack at TLSSocket. (_tls_wrap.js:1016:38) gyp ERR!...