摘要: next使用 @zeit/next-css 支持import css 安装:npm install --save @zeit/next-css || yarn add @zeit/next-css配置: // next.config.js// next支持import css const withC 阅读全文
posted @ 2020-01-15 15:55 空船 阅读(1289) 评论(0) 推荐(0) 编辑
摘要: 一、安装 yarn add ioredis || cnpm i redis --save 二、使用 执行 node test.js // test.jsasync function test(){ const Redis=require('ioredis'); const redis = new R 阅读全文
posted @ 2020-01-15 15:30 空船 阅读(1896) 评论(0) 推荐(0) 编辑
摘要: 一、redis mac系统安装 1.下载解压安装。 首先进入redis官网直接下载。 解压后进入文件夹,执行 make 命令。 然后执行 sudo make install 命令。 安装成功。 2.使用homebrew安装。 执行 brew install redis 遇到问题先 brew upda 阅读全文
posted @ 2020-01-15 14:05 空船 阅读(417) 评论(0) 推荐(0) 编辑