摘要: 简单的安装 "@ngxs/schematics" 1. 配置 src/store 下的config文件 (完成todo)。 2. 在Core模块中导入NgxsStoreModule模块,没有创建Core就直接在AppModule中导入。 "官网文档" ng6,rxjs6.0.0,ngxs3.0.1 阅读全文
posted @ 2018-05-05 00:02 Ajanuw 阅读(1887) 评论(0) 推荐(1) 编辑
摘要: 操作符文档 api 列表 什么是RxJS 运算符? 创建自定义运算符 map 系列 map 类似于 Array.prototype.map() concatMap 将映射后的流合并输出到一个流 mergeMap 将映射后的流合并输出到一个流 switchMap 会停止发出先前发出的内部 Observ 阅读全文
posted @ 2018-05-03 18:03 Ajanuw 阅读(12788) 评论(0) 推荐(2) 编辑
摘要: MDN https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Status section 10 of RFC 2616 https://tools.ietf.org/html/rfc2616#section-10 HTTP Status Cats ht 阅读全文
posted @ 2018-04-27 10:57 Ajanuw 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 文档http://es6.ruanyifeng.com/#docs/decorator ts文档 https://www.tslang.cn/docs/handbook/decorators.html#class-decorators 当多个装饰器应用于一个声明上,从上至下调用,从下而上执行 fun 阅读全文
posted @ 2018-04-24 22:20 Ajanuw 阅读(852) 评论(0) 推荐(1) 编辑
摘要: 安装依赖 λ yarn add typescript @types/node concurrently nodemon wait-on -D 初始化一个 tsconfig.json λ ./node_modules/.bin/tsc --init 编写 tsconfig.json { "compil 阅读全文
posted @ 2018-04-24 20:29 Ajanuw 阅读(1492) 评论(0) 推荐(0) 编辑
摘要: "terminal.integrated.defaultProfile.windows": "cmder", "terminal.integrated.profiles.windows": { "cmder": { "path": "D:\\Program\\cmder\\vendor\\git-f 阅读全文
posted @ 2018-04-18 10:45 Ajanuw 阅读(6413) 评论(0) 推荐(2) 编辑
摘要: yargs模块 "https://www.npmjs.com/package/yargs" "https://github.com/yargs/yargs/blob/HEAD/docs/api.md" 脚本文件 package.json 在脚本根目录执行 或则 测试完后删除 r32 执行命令就会出现 阅读全文
posted @ 2018-04-14 23:18 Ajanuw 阅读(595) 评论(0) 推荐(0) 编辑
摘要: "http://cn.rx.js.org/manual/overview.html h213" "https://rxjs cn.github.io/rxjs5 ultimate cn/content/hot n cold observables.html" 冷观察 javascript const 阅读全文
posted @ 2018-04-12 16:43 Ajanuw 阅读(359) 评论(0) 推荐(0) 编辑
摘要: ipcMain "https://electronjs.org/docs/api/ipc main" 当在主进程中使用时,它处理从渲染器进程(网页)发送出来的异步和同步信息, 当然也有可能从主进程向渲染进程发送消息 ipcRenderer "https://electronjs.org/docs/a 阅读全文
posted @ 2018-04-12 00:07 Ajanuw 阅读(4196) 评论(0) 推荐(2) 编辑
摘要: .json 不能写注释, 还需要严格的双引号 或者使用 .json5 javascript // test.js const fs = require('fs'); const vm = require('vm'); const util = require('util') const format 阅读全文
posted @ 2018-04-11 13:58 Ajanuw 阅读(712) 评论(0) 推荐(0) 编辑